From e828225de7636d0195db2c3c9b1701a5b2f12049 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期四, 14 九月 2023 18:01:33 +0800 Subject: [PATCH] Merge branch '滲透' of https://dev.pollex.com.tw:8443/r/pcalife/PAM into 滲透 --- pamapi/src/main/java/com/pollex/pam/web/rest/AccountResource.java | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pamapi/src/main/java/com/pollex/pam/web/rest/AccountResource.java b/pamapi/src/main/java/com/pollex/pam/web/rest/AccountResource.java index 50319a9..04bda6b 100644 --- a/pamapi/src/main/java/com/pollex/pam/web/rest/AccountResource.java +++ b/pamapi/src/main/java/com/pollex/pam/web/rest/AccountResource.java @@ -65,17 +65,17 @@ } } - /** - * {@code GET /authenticate} : check if the user is authenticated, and return its login. - * - * @param request the HTTP request. - * @return the login if the user is authenticated. - */ - @GetMapping("/authenticate") - public String isAuthenticated(HttpServletRequest request) { - log.debug("REST request to check if the current user is authenticated"); - return request.getRemoteUser(); - } +// /** +// * {@code GET /authenticate} : check if the user is authenticated, and return its login. +// * +// * @param request the HTTP request. +// * @return the login if the user is authenticated. +// */ +// @GetMapping("/authenticate") +// public String isAuthenticated(HttpServletRequest request) { +// log.debug("REST request to check if the current user is authenticated"); +// return request.getRemoteUser(); +// } /** * {@code GET /account} : get the current user. -- Gitblit v1.8.0