Gregniuki commited on
Commit
479fd85
1 Parent(s): bf46f0e

Update auth.py

Browse files
Files changed (1) hide show
  1. auth.py +2 -1
auth.py CHANGED
@@ -47,7 +47,8 @@ class UserCreate(BaseModel):
47
  email: str
48
  password: str
49
  confirm_password: str
50
-
 
51
 
52
  # Use auth_views.pwd_context to access the password context from the AuthViews instance
53
  def authenticate_user(db: Session, email: str, password: str):
 
47
  email: str
48
  password: str
49
  confirm_password: str
50
+ class TokenData(BaseModel):
51
+ token: str
52
 
53
  # Use auth_views.pwd_context to access the password context from the AuthViews instance
54
  def authenticate_user(db: Session, email: str, password: str):