Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
0aa4d305
Commit
0aa4d305
authored
Apr 02, 2024
by
Timothy J. Baek
Browse files
chore: print statement removed
parent
1066096b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
backend/utils/utils.py
backend/utils/utils.py
+0
-2
No files found.
backend/utils/utils.py
View file @
0aa4d305
...
...
@@ -77,8 +77,6 @@ def get_http_authorization_cred(auth_header: str):
def
get_current_user
(
auth_token
:
HTTPAuthorizationCredentials
=
Depends
(
bearer_security
),
):
print
(
auth_token
)
# auth by api key
if
auth_token
.
credentials
.
startswith
(
"sk-"
):
return
get_current_user_by_api_key
(
auth_token
.
credentials
)
...
...
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