Changed reseting page added emailcode page and new password page will need to make more secure all just placeholders atm so its fine
This commit is contained in:
@@ -95,7 +95,7 @@ def view_users():
|
||||
|
||||
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 when starting the py file
|
||||
# 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_PORT'] = 587
|
||||
# app.config['MAIL_USE_TLS'] = True
|
||||
@@ -177,5 +177,13 @@ def page_not_found(e):
|
||||
@app.route('/resetpassword')
|
||||
def resetpassword():
|
||||
return render_template('resetpassword.html')
|
||||
|
||||
@app.route('/resetpasscode')
|
||||
def resetpasscode():
|
||||
return render_template('resetpasswordcode.html')
|
||||
|
||||
@app.route('/newpassword')
|
||||
def newpassword():
|
||||
return render_template('newpassword.html')
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
|
||||
Reference in New Issue
Block a user