mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-22 20:51:29 +10:00
- upgrade react-resizable-panels to latest version
- update translations - remove cypress - add await to all return blocks
This commit is contained in:
@ -13,7 +13,7 @@ export class LocalStrategy extends PassportStrategy(Strategy, "local") {
|
||||
|
||||
async validate(identifier: string, password: string) {
|
||||
try {
|
||||
return this.authService.authenticate({ identifier, password });
|
||||
return await this.authService.authenticate({ identifier, password });
|
||||
} catch (error) {
|
||||
throw new BadRequestException(ErrorMessage.InvalidCredentials);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user