parent
4ba43b69b6
commit
9fc1cc5255
7 changed files with 36 additions and 74 deletions
|
|
@ -72,7 +72,7 @@ export default Vue.extend({
|
|||
username: this.username,
|
||||
password: this.password,
|
||||
token: this.user && this.user.twoFactorEnabled ? this.token : undefined
|
||||
}, true).then(res => {
|
||||
}).then(res => {
|
||||
localStorage.setItem('i', res.i);
|
||||
location.reload();
|
||||
}).catch(() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue