nopaque/app/auth/views.py

13 lines
284 B
Python
Raw Normal View History

from flask import render_template
from . import auth
@auth.route('/login', methods=['GET', 'POST'])
def login():
return render_template('auth/login.html.j2')
@auth.route('/register', methods=['GET', 'POST'])
def register():
return render_template('auth/register.html.j2')