Skip to content

Commit

Permalink
uncomment the board authorization line
Browse files Browse the repository at this point in the history
  • Loading branch information
HubertWojcik10 committed Nov 16, 2023
1 parent 66c9b98 commit da5215a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,7 @@ public async Task<ActionResult<EmailExistsResponse>> EmailExists([FromBody] Emai
/// <response code="401"> Invalid credentials </response>
/// <response code="404"> User not found </response>
[HttpPatch]
[AllowAnonymous]
//[AuthorizeRoles(UserGroup.Board)]
[AuthorizeRoles(UserGroup.Board)]
[ProducesResponseType(typeof(void), StatusCodes.Status204NoContent)]
[ProducesResponseType(typeof(ApiError), StatusCodes.Status401Unauthorized)]
[ProducesResponseType(typeof(ApiError), StatusCodes.Status404NotFound)]
Expand All @@ -158,6 +157,7 @@ public async Task<ActionResult> UpdateAccountUserGroup(int id, [FromBody] Update

return new NoContentResult();
}


/// <summary>
/// Resend account verification email if account is not already verified
Expand Down

0 comments on commit da5215a

Please sign in to comment.