proper text for sign up confirmation

This commit is contained in:
ralphi3
2026-06-19 14:27:18 +12:00
parent 883081f30d
commit 80862825ed
4 changed files with 8 additions and 9 deletions
+1 -5
View File
@@ -48,7 +48,7 @@ def handle_submission():
db.session.add(new_user)
db.session.commit()
return redirect(url_for('success'))
return render_template('signup.html', success_message="Account successfully created")
@app.route('/users')
@@ -115,9 +115,5 @@ def signup():
def all_users():
return render_template('all_users.html')
@app.route('/success')
def success():
return render_template('success.html')
if __name__ == '__main__':
app.run(debug=True)