diff --git a/app.py b/app.py index fa39a26..934b302 100644 --- a/app.py +++ b/app.py @@ -36,11 +36,9 @@ def handle_submission(): db.session.add(new_user) db.session.commit() - return redirect(url_for('success')) + return redirect(url_for('signup')) + return print('account made') -@app.route('/success') -def success(): - return "

Data successfully saved to the database!

" @app.route('/users') def view_users(): diff --git a/instance/accounts.db b/instance/accounts.db index 18a4dfd..ed5a8aa 100644 Binary files a/instance/accounts.db and b/instance/accounts.db differ diff --git a/templates/all_users.html b/templates/all_users.html index ce3c86d..4339531 100644 --- a/templates/all_users.html +++ b/templates/all_users.html @@ -2,4 +2,5 @@ {% block content %} +

password is encrypted which is why it show up as scrypt: and someother stuff

{% endblock %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index a3bb511..5bc9b8c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,6 @@

homepage for math website wow

-