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

@ -258,6 +258,7 @@ export default class ForgotPassword extends React.Component<Props, State> {
}
this.phase = Phase.ResettingPassword;
this.reset.setLogoutDevices(this.state.logoutDevices);
try {
await this.reset.setNewPassword(this.state.password);