From 18116f4e645a60f5e34265065ddd9fd1f10a16c4 Mon Sep 17 00:00:00 2001 From: Yannick Bungers Date: Sat, 7 Oct 2023 12:07:42 +0200 Subject: [PATCH] Remove user creation todo Signed-off-by: Yannick Bungers --- backend/src/api/private/auth/auth.controller.ts | 1 - 1 file changed, 1 deletion(-) 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';