Skip to content

Commit 7e6ac66

Browse files
committed
Use email to login user after registration
1 parent 69fd10a commit 7e6ac66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Infrastructure/Auth0/Auth0Service.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ await _auth0Client.SignupUserAsync(new SignupUserRequest
7272
ClientId = _auth0Options.ClientId
7373
}, ct);
7474

75-
return await GetUserToken(new LoginRequestDto(username, req.Password), ct);
75+
return await GetUserToken(new LoginRequestDto(req.Email, req.Password), ct);
7676
}
7777
catch (Exception ex)
7878
{

0 commit comments

Comments
 (0)