Skip to content
Snippets Groups Projects
Commit 1708888c authored by Mitchell Moore's avatar Mitchell Moore
Browse files

(fix) Prevent app from routing back to index

parent fe3cab2f
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ def create_app(config_name):
return redirect(return_url, 302)
@app.route('/', methods=['GET'])
@app.route('/')
def index():
global return_url
......@@ -41,7 +41,7 @@ def create_app(config_name):
return redirect(url_for("SignUp", user=user))
@app.route('/thing', methods=['GET', 'POST'])
@app.route('/thing/', methods=['GET', 'POST'])
def SignUp():
user = request.remote_user
......
......@@ -50,6 +50,7 @@
<div class="signUpContainer">
<label for="name"><b>Full Name:<br></b></label>
<input class="form-control" type="text" placeholder="Enter Full Name" name="name">
<input class="btn btn-primary btn-block" type="submit" value="submit" onclick="return empty()">
</div>
</form>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment