login
This commit is contained in:
@@ -15,7 +15,7 @@ export class AuthService {
|
||||
const valid = await this.ldapAuth.verifyPassword(username, password);
|
||||
if (!valid) {
|
||||
await this.audit.record({ type: 'auth.login_failed', username, ipAddress, userAgent });
|
||||
throw new UnauthorizedException('Ungueltige Zugangsdaten.');
|
||||
throw new UnauthorizedException('Ungültige Zugangsdaten.');
|
||||
}
|
||||
|
||||
await this.audit.record({ type: 'auth.login_success', username, ipAddress, userAgent });
|
||||
|
||||
Reference in New Issue
Block a user