summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-12-19 00:41:53 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-12-19 00:41:53 +0900
commit52b59e9d7be3bdc9159351f918cf81d707a176a0 (patch)
tree404674657533c279566a176f941d96b98c199c0a /src/client
parentImprove readability (diff)
downloadmisskey-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.vue5
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'));