Skip to content

Commit 05ad0ae

Browse files
committed
Add scopes to login and roles
1 parent 4d74b1a commit 05ad0ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/api/user/user.controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,6 +1467,8 @@ export class UserController {
14671467
* @throws NotFoundException if the user is not found.
14681468
*/
14691469
@Post('changePassword')
1470+
@UseGuards(AuthRequiredGuard, ScopesGuard)
1471+
@Scopes('auth0')
14701472
@HttpCode(HttpStatus.OK)
14711473
@ApiOperation({
14721474
summary:

0 commit comments

Comments
 (0)