consolelog adminallusers shown remove from index
This commit is contained in:
@@ -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 "<h3>Data successfully saved to the database!</h3>"
|
||||
|
||||
@app.route('/users')
|
||||
def view_users():
|
||||
|
||||
Binary file not shown.
@@ -2,4 +2,5 @@
|
||||
|
||||
{% block content %}
|
||||
<iframe src="http://127.0.0.1:5000/users" width="100%" height="500px"></iframe>
|
||||
<h3>password is encrypted which is why it show up as scrypt: and someother stuff</h3>
|
||||
{% endblock %}
|
||||
@@ -5,7 +5,6 @@
|
||||
|
||||
<h1>homepage for math website wow</h1>
|
||||
|
||||
<iframe src="http://127.0.0.1:5000/users" width="100%" height="500px"></iframe>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user