mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 05:04:44 +02:00
Fix 2FA on login
This commit is contained in:
parent
4c4f6d3afe
commit
d0348a4505
@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
this.$props.user.password = '';
|
this.$props.user.password = '';
|
||||||
this.$data.showSpinner = false;
|
this.$data.showSpinner = false;
|
||||||
this.$router.push({name: 'checkpoint', query: {token: response.login_token}});
|
this.$router.push({name: 'checkpoint', query: {token: response.token}});
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
this.$props.user.password = '';
|
this.$props.user.password = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user