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
38c34b44
"backend/vscode:/vscode.git/clone" did not exist on "fc1a66ea7682ec29d12066ef78359bc6983cdbbc"
Commit
38c34b44
authored
Apr 02, 2024
by
Timothy J. Baek
Browse files
fix: import
parent
b11af9ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
backend/apps/web/routers/auths.py
backend/apps/web/routers/auths.py
+3
-2
No files found.
backend/apps/web/routers/auths.py
View file @
38c34b44
...
@@ -4,6 +4,7 @@ from fastapi import Depends, HTTPException, status
...
@@ -4,6 +4,7 @@ from fastapi import Depends, HTTPException, status
from
fastapi
import
APIRouter
from
fastapi
import
APIRouter
from
pydantic
import
BaseModel
from
pydantic
import
BaseModel
import
re
import
re
import
uuid
from
apps.web.models.auths
import
(
from
apps.web.models.auths
import
(
SigninForm
,
SigninForm
,
...
@@ -13,7 +14,7 @@ from apps.web.models.auths import (
...
@@ -13,7 +14,7 @@ from apps.web.models.auths import (
UserResponse
,
UserResponse
,
SigninResponse
,
SigninResponse
,
Auths
,
Auths
,
ApiKey
ApiKey
,
)
)
from
apps.web.models.users
import
Users
from
apps.web.models.users
import
Users
...
@@ -22,7 +23,7 @@ from utils.utils import (
...
@@ -22,7 +23,7 @@ from utils.utils import (
get_current_user
,
get_current_user
,
get_admin_user
,
get_admin_user
,
create_token
,
create_token
,
create_api_key
create_api_key
,
)
)
from
utils.misc
import
parse_duration
,
validate_email_format
from
utils.misc
import
parse_duration
,
validate_email_format
from
utils.webhook
import
post_webhook
from
utils.webhook
import
post_webhook
...
...
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