Fix logout devices on password reset (#9925)

This commit is contained in:
Michael Weimann 2023-01-18 08:25:03 +01:00 committed by GitHub
parent 62913218d2
commit 70d3d03c15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 77 additions and 41 deletions

View file

@ -104,6 +104,10 @@ export default class PasswordReset {
);
}
public setLogoutDevices(logoutDevices: boolean): void {
this.logoutDevices = logoutDevices;
}
public async setNewPassword(password: string): Promise<void> {
this.password = password;
await this.checkEmailLinkClicked();