Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
unify_api2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chaonan
unify_api2
Commits
54704328
Commit
54704328
authored
Mar 14, 2024
by
ZZH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix qkadmin auth 2024-03-14
parent
c2c05c1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
login_auth.py
unify_api/modules/common/procedures/login_auth.py
+5
-0
No files found.
unify_api/modules/common/procedures/login_auth.py
View file @
54704328
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment