diff --git a/README.md b/README.md index 2af193b301251089fb0ec0bf591f556de830e3ce..ceb224cc4ad6032838df512f3deb102c1dc69eac 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ LDAP authentication webserver to use with Nginx' auth\_request. ## Configuration All of the configuration should be done with environment variables. For the -complete list see <https://flask-simpleldap.readthedocs.io/en/latest/#configuration> +complete list see <https://github.com/drowolath/flask-ldap-auth#usage> and -<https://flask.palletsprojects.com/en/1.1.x/config/#configuring-from-environment-variables>. +<https://flask.palletsprojects.com/en/1.1.x/config/#builtin-configuration-values>. ## License diff --git a/app.py b/app.py index 95186987a7d02ffeeebf83fd75fc3426a0882b03..8a4dc2eb63278814b354a2906fcbd7e6e0462e25 100644 --- a/app.py +++ b/app.py @@ -2,8 +2,8 @@ # pylint: disable=import-error import os -from flask import Flask, token -from flask_ldap_auth import login_required +from flask import Flask +from flask_ldap_auth import login_required, token app = Flask(__name__) app.config["SECRET_KEY"] = os.getenv("SECRET_KEY", os.urandom(16))