mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-21 14:22:39 +01:00
ight we done i think
This commit is contained in:
parent
e981135042
commit
ba083cc0cb
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ from config import Config
|
|||
|
||||
app = Flask(__name__)
|
||||
app.config['SECRET_KEY'] = Config.secretKey
|
||||
app.config['MAX_CONTENT_LENGTH'] = Config.maxFileSize * 1024 * 1024
|
||||
csrf = CSRFProtect(app)
|
||||
bcrypt = Bcrypt(app)
|
||||
loginManager = LoginManager(app)
|
||||
|
|
|
@ -151,4 +151,4 @@ def resetIDPass(userid):
|
|||
Config.users.update_one({"userid": userid}, {"$set": {"idpass": hashedPass}})
|
||||
return idpass
|
||||
except:
|
||||
return False
|
||||
return False
|
Loading…
Reference in a new issue