develop #34

Merged
niat8586 merged 4 commits from develop into main 2025-03-31 13:41:00 +02:00
Showing only changes of commit 2ecdbf8d72 - Show all commits

@ -17,9 +17,6 @@ public class UserService {
if (appUserRepository.existsByUsername(username)) {
throw new IllegalArgumentException("Username already exists");
}
if (appUserRepository.existsByEmail(email)) {
throw new IllegalArgumentException("Email already exists");
}
AppUser newUser = new AppUser(username, email, "USER");
appUserRepository.save(newUser);