diff --git a/backend/src/api/private/auth/auth.controller.ts b/backend/src/api/private/auth/auth.controller.ts index 7fe1b293e..34c41d8f0 100644 --- a/backend/src/api/private/auth/auth.controller.ts +++ b/backend/src/api/private/auth/auth.controller.ts @@ -62,7 +62,6 @@ export class AuthController { registerDto.username, registerDto.displayName, ); - // ToDo: Figure out how to rollback user if anything with this calls goes wrong await this.identityService.createLocalIdentity(user, registerDto.password); request.session.username = registerDto.username; request.session.authProvider = 'local';