Skip to content

Commit 45ef951

Browse files
committed
AllowAnonymous on registration endpoint
1 parent 6a7e646 commit 45ef951

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

PocketDDD.Server/PocketDDD.Server.WebAPI/Controllers/RegistrationController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public RegistrationController(RegistrationService registrationService)
1818
}
1919

2020
[HttpPost("[Action]")]
21+
[AllowAnonymous]
2122
public Task<LoginResultDTO> Login(RegisterDTO dto)
2223
{
2324
return registrationService.Register(dto);

0 commit comments

Comments
 (0)