[Client] Fix #3655
This commit is contained in:
parent
80c74b1fa7
commit
52b59e9d7b
|
@ -146,8 +146,9 @@ export default Vue.extend({
|
||||||
this.$root.api('signin', {
|
this.$root.api('signin', {
|
||||||
username: this.username,
|
username: this.username,
|
||||||
password: this.password
|
password: this.password
|
||||||
}, true).then(() => {
|
}, true).then(res => {
|
||||||
location.href = '/';
|
localStorage.setItem('i', res.i);
|
||||||
|
location.reload();
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
alert(this.$t('some-error'));
|
alert(this.$t('some-error'));
|
||||||
|
|
Loading…
Reference in New Issue