mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 08:34:55 +00:00
refactor: refactor the code
This commit is contained in:
@ -86,25 +86,4 @@ export class AuthController {
|
||||
async logout(@Req() request: Request) {
|
||||
await this.authService.logout(request);
|
||||
}
|
||||
|
||||
// @Post('biometric/enable')
|
||||
// @HttpCode(HttpStatus.NO_CONTENT)
|
||||
// @UseGuards(AccessTokenGuard)
|
||||
// enableBiometric(@AuthenticatedUser() { sub }: IJwtPayload, @Body() enableBiometricDto: EnableBiometricRequestDto) {
|
||||
// return this.authService.enableBiometric(sub, enableBiometricDto);
|
||||
// }
|
||||
|
||||
// @Post('biometric/disable')
|
||||
// @HttpCode(HttpStatus.NO_CONTENT)
|
||||
// @UseGuards(AccessTokenGuard)
|
||||
// disableBiometric(@AuthenticatedUser() { sub }: IJwtPayload, @Body() disableBiometricDto: DisableBiometricRequestDto) {
|
||||
// return this.authService.disableBiometric(sub, disableBiometricDto);
|
||||
// }
|
||||
|
||||
// @Post('junior/set-passcode')
|
||||
// @HttpCode(HttpStatus.NO_CONTENT)
|
||||
// @Public()
|
||||
// setJuniorPasscode(@Body() setPasscodeDto: setJuniorPasswordRequestDto) {
|
||||
// return this.authService.setJuniorPasscode(setPasscodeDto);
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user