From 105aa9579a91bf776572676a09e865643ccddb7f Mon Sep 17 00:00:00 2001 From: msksbr515 Date: Sat, 23 May 2026 15:42:37 +0800 Subject: [PATCH] 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. --- src/main/kotlin/com/msksbr/bookmgr/controller/AuthController.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/kotlin/com/msksbr/bookmgr/controller/AuthController.kt b/src/main/kotlin/com/msksbr/bookmgr/controller/AuthController.kt index 634e472..ce226c4 100644 --- a/src/main/kotlin/com/msksbr/bookmgr/controller/AuthController.kt +++ b/src/main/kotlin/com/msksbr/bookmgr/controller/AuthController.kt @@ -53,7 +53,6 @@ class AuthController( Result.success( mapOf( "token" to token, - "id" to user.id, "username" to user.username, "role" to user.role )