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:
@@ -53,7 +53,6 @@ class AuthController(
|
||||
Result.success(
|
||||
mapOf(
|
||||
"token" to token,
|
||||
"id" to user.id,
|
||||
"username" to user.username,
|
||||
"role" to user.role
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user