Переведена ошибка для неверного логина или пароля
This commit is contained in:
@ -170,7 +170,7 @@ export class UserService {
|
|||||||
return this.generateTokens(login, host, agent);
|
return this.generateTokens(login, host, agent);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new BadRequestException('Invalid user or password');
|
throw new BadRequestException('Не верный логин или пароль');
|
||||||
}
|
}
|
||||||
|
|
||||||
verifyToken(token: string, secret: string): void {
|
verifyToken(token: string, secret: string): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user