mirror of
https://github.com/aronwk-aaron/MSState-Library-ETD.git
synced 2026-02-05 05:18:39 -06:00
22 lines
510 B
Python
22 lines
510 B
Python
from flask import render_template, Blueprint
|
|
|
|
auth_blueprint = Blueprint('auth', __name__)
|
|
|
|
|
|
@auth_blueprint.route('/auth/login', methods=['GET', 'POST'])
|
|
def login():
|
|
"""Auth: Login Page"""
|
|
return render_template('auth/login.jinja2')
|
|
|
|
|
|
@auth_blueprint.route('/auth/logout')
|
|
def logout():
|
|
"""Auth: Logout Page"""
|
|
return render_template('auth/logout.jinja2')
|
|
|
|
|
|
@auth_blueprint.route('/auth/register')
|
|
def register():
|
|
"""Auth: Login Page"""
|
|
return render_template('auth/register.jinja2')
|