8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43580e3 commit cf4ca8aCopy full SHA for cf4ca8a
src/app/backend/Controllers/AuthController.cs
@@ -217,8 +217,11 @@ public async Task<ActionResult<EditUserResponseDto>> EditUser(EditUserRequestDto
217
/// </summary>
218
[HttpGet]
219
[AllowAnonymous]
220
- public async Task<ActionResult> ResetLostPassword(string email 67A8 , string? token, string? resetPassword)
+ public async Task<ActionResult> ResetLostPassword(string? email, string? token, string? resetPassword)
221
{
222
+ if (email is null)
223
+ throw new BadHttpRequestException("Email address required.");
224
+
225
var res = await authService.ResetLostPasswordRequestAsync(
226
email,
227
token,
0 commit comments