src/auth/routes.py : blueprint auth et fixtures de test (#73)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
from flask import Blueprint
|
||||
|
||||
auth_bp = Blueprint("auth", __name__, url_prefix="/auth")
|
||||
@@ -43,6 +43,10 @@ def init_auth(app: Flask) -> None:
|
||||
_login_manager.user_loader(load_user)
|
||||
_login_manager.init_app(app)
|
||||
|
||||
from src.auth.routes import auth_bp
|
||||
|
||||
app.register_blueprint(auth_bp)
|
||||
|
||||
_csrf = CSRFProtect(app)
|
||||
|
||||
if not os.getenv("SMTP_HOST"):
|
||||
|
||||
Reference in New Issue
Block a user