mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-19 09:51:35 +02:00
Fix landing on Start view while twofaccounts collection is not empty
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
function LegacysignIn(e) {
|
||||
notify.clear()
|
||||
form.post('/user/login', {returnError: true})
|
||||
.then(response => {
|
||||
user.loginAs({
|
||||
.then(async (response) => {
|
||||
await user.loginAs({
|
||||
name: response.data.name,
|
||||
email: response.data.email,
|
||||
preferences: response.data.preferences,
|
||||
|
Reference in New Issue
Block a user