refactor(auth): remove id from login response

Remove the user id field from the login response, keeping only username
and role. Clean up related formatting for consistency.
This commit is contained in:
2026-05-23 15:42:37 +08:00
parent fe962d501a
commit 105aa9579a
@@ -53,7 +53,6 @@ class AuthController(
Result.success( Result.success(
mapOf( mapOf(
"token" to token, "token" to token,
"id" to user.id,
"username" to user.username, "username" to user.username,
"role" to user.role "role" to user.role
) )