readmechange

This commit is contained in:
Jordan
2026-07-21 11:23:20 +12:00
parent a4c15b8d1e
commit 33367bcf12
2 changed files with 7 additions and 4 deletions
+3
View File
@@ -3,6 +3,9 @@ Math website
to access list of all users in the database go to to access list of all users in the database go to
http://127.0.0.1:5000/users http://127.0.0.1:5000/users
Live website with the latest commit as of 12/07/2026 11:22am
https://math.ralphie.xyz
working on email system for reseting password but isnt working at the moment and can break the website if uncommented and ran working on email system for reseting password but isnt working at the moment and can break the website if uncommented and ran
only works on device local not local network or with a public ip and port forwarding working to fix this only works on device local not local network or with a public ip and port forwarding working to fix this
+4 -4
View File
@@ -8,9 +8,9 @@ from sqlalchemy.exc import IntegrityError
app = Flask(__name__) app = Flask(__name__)
email_option = str(0) # email_option = str(0)
email = str(0) # email = str(0)
password = str(0) # password = str(0)
# with app.app_context(): # with app.app_context():
# print("--- Server Initialization ---") # print("--- Server Initialization ---")
@@ -95,7 +95,7 @@ def view_users():
return html_output return html_output
#Mail system uncomment all of the stuff below this line to use but requires a google account to use will have to put email in username area and password in password area #Mail system uncomment all of the stuff below this line to use but requires a google account to use will have to put email in username area and password in password area when starting the py file
# app.config['MAIL_SERVER'] = 'smtp.google.com' # app.config['MAIL_SERVER'] = 'smtp.google.com'
# app.config['MAIL_PORT'] = 587 # app.config['MAIL_PORT'] = 587
# app.config['MAIL_USE_TLS'] = True # app.config['MAIL_USE_TLS'] = True