mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-14 00:32:35 +10:00
- bump up version to 4.0.6
- update dependencies - remove test phase from CI script - lint and format all files
This commit is contained in:
@ -48,7 +48,7 @@ export class AuthController {
|
||||
private readonly utils: UtilsService,
|
||||
) {}
|
||||
|
||||
private async exchangeToken(id: string, email: string, isTwoFactorAuth: boolean = false) {
|
||||
private async exchangeToken(id: string, email: string, isTwoFactorAuth = false) {
|
||||
try {
|
||||
const payload = payloadSchema.parse({ id, isTwoFactorAuth });
|
||||
|
||||
@ -67,8 +67,8 @@ export class AuthController {
|
||||
private async handleAuthenticationResponse(
|
||||
user: UserWithSecrets,
|
||||
response: Response,
|
||||
isTwoFactorAuth: boolean = false,
|
||||
redirect: boolean = false,
|
||||
isTwoFactorAuth = false,
|
||||
redirect = false,
|
||||
) {
|
||||
let status = "authenticated";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user