Redirect /create_account GET to /
This commit is contained in:
parent
8741c301d5
commit
fa11e38c6f
|
@ -118,6 +118,11 @@ def login() -> Response | str:
|
||||||
return render_index(status=404)
|
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'])
|
@writing_blueprint.route('/create_account', methods=['POST'])
|
||||||
def create_account() -> Response:
|
def create_account() -> Response:
|
||||||
email_address = request.form['login']
|
email_address = request.form['login']
|
||||||
|
|
Loading…
Reference in New Issue