forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
aced183a66
commit
d285452dec
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ export default Vue.extend({
|
||||||
password: this.password
|
password: this.password
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
localStorage.setItem('i', res.i);
|
localStorage.setItem('i', res.i);
|
||||||
location.reload();
|
location.href = '/';
|
||||||
});
|
});
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
alert(this.$t('some-error'));
|
alert(this.$t('some-error'));
|
||||||
|
|
Loading…
Reference in a new issue