Skip to content

Commit 83f6d29

Browse files
chore: rollback auto import changes
1 parent a938219 commit 83f6d29

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

backend/app/api/routes/login.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
11
from datetime import timedelta
22
from typing import Annotated, Any
33

4+
from fastapi import APIRouter, Depends, HTTPException
5+
from fastapi.responses import HTMLResponse
6+
from fastapi.security import OAuth2PasswordRequestForm
7+
48
from app import crud
59
from app.api.deps import CurrentUser, SessionDep, get_current_active_superuser
610
from app.core import security
711
from app.core.config import settings
812
from app.core.security import get_password_hash
913
from app.models import Message, NewPassword, Token, UserPublic
10-
from app.utils import (generate_password_reset_token,
11-
generate_reset_password_email, send_email,
12-
verify_password_reset_token)
13-
from fastapi import APIRouter, Depends, HTTPException
14-
from fastapi.responses import HTMLResponse
15-
from fastapi.security import OAuth2PasswordRequestForm
14+
from app.utils import (
15+
generate_password_reset_token,
16+
generate_reset_password_email,
17+
send_email,
18+
verify_password_reset_token,
19+
)
1620

1721
router = APIRouter(tags=["login"])
1822

0 commit comments

Comments
 (0)