fix(client): force save session in checkPassword

This commit is contained in:
teidesu 2021-04-10 20:09:28 +03:00
parent f0cf8a50a1
commit d592e55294

View file

@ -41,6 +41,7 @@ export async function checkPassword(
userId: res.user.id, userId: res.user.id,
isBot: false, isBot: false,
}) })
await this.storage.save?.()
return new User(this, res.user) return new User(this, res.user)
} }