diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-12-19 00:41:53 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-12-19 00:41:53 +0900 |
| commit | 52b59e9d7be3bdc9159351f918cf81d707a176a0 (patch) | |
| tree | 404674657533c279566a176f941d96b98c199c0a /src/client | |
| parent | Improve readability (diff) | |
| download | misskey-52b59e9d7be3bdc9159351f918cf81d707a176a0.tar.gz misskey-52b59e9d7be3bdc9159351f918cf81d707a176a0.tar.bz2 misskey-52b59e9d7be3bdc9159351f918cf81d707a176a0.zip | |
[Client] Fix #3655
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/common/views/components/signup.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue index 7e8d2846aa..f7c4f4bf1e 100644 --- a/src/client/app/common/views/components/signup.vue +++ b/src/client/app/common/views/components/signup.vue @@ -146,8 +146,9 @@ export default Vue.extend({ this.$root.api('signin', { username: this.username, password: this.password - }, true).then(() => { - location.href = '/'; + }, true).then(res => { + localStorage.setItem('i', res.i); + location.reload(); }); }).catch(() => { alert(this.$t('some-error')); |