Remove user creation todo

Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
Yannick Bungers 2023-10-07 12:07:42 +02:00 committed by David Mehren
parent 386cf469fd
commit 18116f4e64

View file

@ -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';