Commit 795ba9e7 authored by Junling Bu's avatar Junling Bu
Browse files

chore[litemall-admin-api]: 后端认证失败,不返回具体内部信息。

parent 2e2cb601
......@@ -61,7 +61,7 @@ public class AdminAuthController {
return ResponseUtil.fail(ADMIN_INVALID_ACCOUNT, "用户帐号已锁定不可用");
} catch (AuthenticationException ae) {
return ResponseUtil.fail(ADMIN_INVALID_ACCOUNT, ae.getMessage());
return ResponseUtil.fail(ADMIN_INVALID_ACCOUNT, "认证失败");
}
return ResponseUtil.ok(currentUser.getSession().getId());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment