diff --git a/back/services/user.ts b/back/services/user.ts index 7f5e9d8e..f5909ee3 100644 --- a/back/services/user.ts +++ b/back/services/user.ts @@ -363,12 +363,13 @@ export default class UserService { } public async resetAuthInfo(info: Partial) { - const { retries, twoFactorActivated, password } = info; + const { retries, twoFactorActivated, password, username } = info; const authInfo = await this.getAuthInfo(); await this.updateAuthInfo(authInfo, { retries, twoFactorActivated, password, + username }); } }