diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-02-28 00:11:28 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-02-28 00:11:28 +0900 |
| commit | dbc421cb571f69a4c71691c00b094925006b95fe (patch) | |
| tree | 02a7e77b1545d120494a3b7f0487b45e1078f723 /src/web/app/auth/views | |
| parent | v3917 (diff) | |
| download | sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.gz sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.tar.bz2 sharkey-dbc421cb571f69a4c71691c00b094925006b95fe.zip | |
:v:
Diffstat (limited to 'src/web/app/auth/views')
| -rw-r--r-- | src/web/app/auth/views/index.vue | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/web/app/auth/views/index.vue b/src/web/app/auth/views/index.vue index 1e372c0bde..17e5cc6108 100644 --- a/src/web/app/auth/views/index.vue +++ b/src/web/app/auth/views/index.vue @@ -42,10 +42,14 @@ export default Vue.extend({ return { state: null, session: null, - fetching: true, - token: window.location.href.split('/').pop() + fetching: true }; }, + computed: { + token(): string { + return this.$route.params.token; + } + }, mounted() { if (!this.$root.$data.os.isSignedIn) return; |