Fix landing on Start view while twofaccounts collection is not empty

This commit is contained in:
Bubka
2023-11-15 17:27:29 +01:00
parent 26511954c4
commit a4011388ca
2 changed files with 4 additions and 4 deletions

View File

@@ -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,