Redirect /create_account GET to /

This commit is contained in:
Sage Vaillancourt 2022-10-02 14:13:44 -04:00
parent 8741c301d5
commit fa11e38c6f
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ def login() -> Response | str:
return render_index(status=404)
@writing_blueprint.route('/create_account', methods=['GET'])
def create_account_redirect() -> Response:
return redirect('/')
@writing_blueprint.route('/create_account', methods=['POST'])
def create_account() -> Response:
email_address = request.form['login']