Commit 54704328 authored by ZZH's avatar ZZH

fix qkadmin auth 2024-03-14

parent c2c05c1f
...@@ -94,6 +94,11 @@ def is_need_verify(path): ...@@ -94,6 +94,11 @@ def is_need_verify(path):
if re.search("/qk-website", path): if re.search("/qk-website", path):
log.info(f"{path} not need verify") log.info(f"{path} not need verify")
return False return False
if re.search("/qkadmin", path):
log.info(f"{path} not need verify")
return False
# if re.match("^/unify-api/users/logout/user-logout/?$", path): # if re.match("^/unify-api/users/logout/user-logout/?$", path):
# log.info("logout not need verify") # log.info("logout not need verify")
# return False # return False
......
Markdown is supported
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