1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Fix logout link

This commit is contained in:
Mo 2022-05-29 19:41:46 +02:00
parent d71eb55c09
commit 83cad93486

View file

@ -79,7 +79,6 @@ app.config["SECURITY_EMAIL_VALIDATOR_ARGS"] = {
} }
set_from_env(app, "SECURITY_PASSWORD_SALT") set_from_env(app, "SECURITY_PASSWORD_SALT")
app.config["SECURITY_PASSWORD_LENGTH_MIN"] = 15 app.config["SECURITY_PASSWORD_LENGTH_MIN"] = 15
app.config["SECURITY_LOGOUT_METHODS"] = ["POST"] # Slightly more secure
# TODO: app.config["SECURITY_LOGIN_USER_TEMPLATE"] = # TODO: app.config["SECURITY_LOGIN_USER_TEMPLATE"] =
user_datastore = SQLAlchemyUserDatastore(db, models.User, models.Role) user_datastore = SQLAlchemyUserDatastore(db, models.User, models.Role)