nopaque/app/auth/views.py

13 lines
300 B
Python
Raw Normal View History

from flask import render_template
from . import auth
@auth.route('/login', methods=['GET', 'POST'])
def login():
2019-07-05 09:02:56 +00:00
return render_template('auth/login.html.j2', title='Log in')
@auth.route('/register', methods=['GET', 'POST'])
def register():
return render_template('auth/register.html.j2')