mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
feat(homepage): add new sections to homepage
This commit is contained in:
@ -166,7 +166,7 @@ export class AuthController {
|
||||
response.status(200).send(data);
|
||||
}
|
||||
|
||||
// Two Factor Authentication Flows
|
||||
// Two-Factor Authentication Flows
|
||||
@ApiTags("Two-Factor Auth")
|
||||
@Post("2fa/setup")
|
||||
@UseGuards(JwtGuard)
|
||||
|
||||
@ -210,7 +210,7 @@ export class AuthService {
|
||||
});
|
||||
}
|
||||
|
||||
// Two Factor Authentication Flows
|
||||
// Two-Factor Authentication Flows
|
||||
async setup2FASecret(email: string) {
|
||||
// If the user already has 2FA enabled, throw an error
|
||||
const user = await this.userService.findOneByIdentifier(email);
|
||||
|
||||
Reference in New Issue
Block a user