Update auth.py
Browse files
auth.py
CHANGED
@@ -34,9 +34,10 @@ def verify_token(token: str = Depends(oauth2_scheme)):
|
|
34 |
|
35 |
class UserCreate(BaseModel):
|
36 |
username: str
|
|
|
37 |
password: str
|
38 |
confirm_password: str
|
39 |
-
|
40 |
|
41 |
from emailx import send_verification_email, generate_verification_token
|
42 |
|
|
|
34 |
|
35 |
class UserCreate(BaseModel):
|
36 |
username: str
|
37 |
+
email: str
|
38 |
password: str
|
39 |
confirm_password: str
|
40 |
+
|
41 |
|
42 |
from emailx import send_verification_email, generate_verification_token
|
43 |
|