mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 09:03:08 +02:00
[Client] Fix #3655
This commit is contained in:
parent
80c74b1fa7
commit
52b59e9d7b
1 changed files with 3 additions and 2 deletions
|
@ -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'));
|
||||
|
|
Loading…
Reference in a new issue