From cc78cd3133de06f2d503bd56f957fb26cbf47415 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Mon, 19 May 2025 12:38:46 +0800 Subject: [PATCH] docs(api): document remember-me parameter on Retrieve Current User API --- .../org/gotson/komga/interfaces/api/rest/UserController.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/UserController.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/UserController.kt index a8341c7d6..216d0d80b 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/UserController.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/rest/UserController.kt @@ -64,6 +64,7 @@ class UserController( @Operation(summary = "Retrieve current user", tags = [TagNames.CURRENT_USER]) fun getCurrentUser( @AuthenticationPrincipal principal: KomgaPrincipal, + @RequestParam(name = "remember-me", required = false) rememberMe: Boolean?, ): UserDto = principal.toDto() @PatchMapping("me/password")