Add lost password recovery

This commit is contained in:
2025-05-12 16:37:30 +02:00
parent c91fdad70b
commit 15c0f4fd79
38 changed files with 1299 additions and 397 deletions

View File

@@ -9,7 +9,7 @@ from flask_bcrypt import Bcrypt
from os import system
from views.blog import postit
from views.blog import blog
from views.filesupload import filesupload
from views.inscription import inscription
from views.profil import profil
@@ -31,7 +31,7 @@ if init_dir():
print ("Le repertoire des utilisateurs a été créer")
#### Variables ####################################################################################
#### Variables Globales #########################################################################
DOSSIER_PERSO= app.config['DOSSIER_APP']
@@ -39,7 +39,7 @@ DOSSIER_PERSO= app.config['DOSSIER_APP']
extensionimg = app.config['EXT_IMG']
MAIL_SERVER = app.config['MAIL_SERVER']
XMPP_SERVER = app.config['XMPP_SERVER']
##################################################################################################
#################################################################################################
xmpp_server_not_installed = system('whereis prosodyctl')
mail_server_not_installed = system('whereis set_mail_alias') + system('whereis set_mail_passwd') + \
@@ -59,7 +59,7 @@ if MAIL_SERVER and mail_server_not_installed :
app.register_blueprint(inscription)
app.register_blueprint(postit)
app.register_blueprint(blog)
app.register_blueprint(filesupload)
app.register_blueprint(profil)
app.register_blueprint(logs)
@@ -113,4 +113,4 @@ def create_app():
return app
if __name__ == '__main__' :
app.run(host='127.0.0.1', port=8000, debug=False)
app.run(host='127.0.0.1', port=8000, debug=True)