add admin user

This commit is contained in:
Anika Raemer 2025-09-24 21:00:58 +02:00
parent 3cc66f4e97
commit 8fb48f7243
2 changed files with 8 additions and 1 deletions

View file

@ -14,7 +14,7 @@ export class AuthController {
async login(loginRequest : LoginRequestDto): Promise<LoginResponseDto> {
const userName :string|undefined = loginRequest.userName;
const password :string|undefined = loginRequest.password;
console.log("user", userName, " is trying to log in with password", password)
console.log("user", userName, " is trying to log in")
if (!userName || !password) {
throw new ValidationError("Username and password are required");
}