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(
|
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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user