2023-06-03 10:58:57 -04:00
|
|
|
import flask
|
|
|
|
|
2023-06-05 12:47:29 -04:00
|
|
|
page = flask.Blueprint("login", __name__, template_folder="templates")
|
2023-06-04 06:51:13 -04:00
|
|
|
|
2023-06-05 12:47:29 -04:00
|
|
|
@page.route("/login", methods=['POST', 'GET'])
|
2023-06-04 06:51:13 -04:00
|
|
|
def show():
|
|
|
|
if (flask.request.method == ['GET']):
|
2023-06-03 10:58:57 -04:00
|
|
|
return (flask.render_template("login/login.html"))
|
|
|
|
else:
|
2023-06-04 06:51:13 -04:00
|
|
|
return ("bozo")
|
2023-06-03 10:58:57 -04:00
|
|
|
email = flask.request.form['email']
|
|
|
|
password = flask.request.form['password']
|