109898688: Implement get method for email-not-received and text-not-received

This commit is contained in:
Rebecca Law
2015-12-15 11:06:09 +00:00
parent cbd47fe2ce
commit e9383b733e
5 changed files with 43 additions and 13 deletions

View File

@@ -0,0 +1,23 @@
from flask import render_template
from app.main import main
@main.route("/email-not-received", methods=['GET'])
def email_not_received():
return render_template('views/email-not-received.html')
@main.route('/email-not-received', methods=['POST'])
def check_and_resend_email_code():
return None
@main.route("/text-not-received", methods=['GET'])
def text_not_received():
return render_template('views/text-not-received.html')
@main.route('/text-not-received', methods=['POST'])
def check_and_resend_text_code():
return None