Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
hubgeter committed Dec 30, 2024
1 parent 88909ed commit 0e7ed4c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ public Object show_meta_info(HttpServletRequest request, HttpServletResponse res
//http://username:[email protected]:8030/api/show_proc?path=/
@RequestMapping(path = "/api/show_proc", method = RequestMethod.GET)
public Object show_proc(HttpServletRequest request, HttpServletResponse response) {
if (needRedirect(request.getScheme())) {
return redirectToHttps(request);
}
executeCheckPassword(request, response);
// check authority
checkGlobalAuth(ConnectContext.get().getCurrentUserIdentity(), PrivPredicate.ADMIN);
Expand Down

0 comments on commit 0e7ed4c

Please sign in to comment.