Files
MULTI-IA-CODAGE/backend/schemas.py
T
xavier b1983077cb
Build and Push Docker Image / build-and-push (push) Successful in 1m17s
modification requirements.txt
2026-10-07 00:25:39 +02:00

12 lines
252 B
Python

from pydantic import BaseModel, EmailStr
class AdminCreate(BaseModel):
email: EmailStr
username: str
password: str
# NOUVEAU : Schéma pour la connexion
class LoginRequest(BaseModel):
username: str
password: str
totp_code: str