This commit is contained in:
pika 2025-03-31 17:48:23 +02:00
parent f7f28b35ec
commit eedc354160
6 changed files with 56 additions and 6 deletions

View file

@ -4,10 +4,9 @@ from werkzeug.security import generate_password_hash, check_password_hash
from app.core.extensions import db
from app.core.auth import User
import re
from flask_wtf.csrf import CSRFProtect
from app.core.csrf_utils import csrf # Import from centralized location
bp = Blueprint("auth", __name__, url_prefix="/auth")
csrf = CSRFProtect()
@bp.route("/login", methods=["GET", "POST"])