wip
This commit is contained in:
parent
f7f28b35ec
commit
eedc354160
6 changed files with 56 additions and 6 deletions
|
@ -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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue