nopaque/app/auth/views.py
2019-07-05 11:02:56 +02:00

13 lines
300 B
Python

from flask import render_template
from . import auth
@auth.route('/login', methods=['GET', 'POST'])
def login():
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')