added editing user profile.

This commit is contained in:
Asal Lotfi
2025-07-29 13:35:00 +03:30
parent 5825373f2c
commit 2fb957d941
7 changed files with 290 additions and 25 deletions
@@ -20,7 +20,7 @@ public class AuthService {
} else {
UUID uuid = UUID.randomUUID();
password = PasswordHashing.hash(password);
User user = new User(user_id, uuid, username, password, profile_name);
User user = new User(user_id, uuid, username, password, profile_name, "", "");
return this.userDb.save(user);
}
} else {