diff options
| author | Thibaut Horel <thibaut@horel.org> | 2018-12-31 19:27:20 -0500 |
|---|---|---|
| committer | Thibaut Horel <thibaut@horel.org> | 2018-12-31 19:27:20 -0500 |
| commit | f85089ab9ddf299ef879e9c6dfe6570bed497b89 (patch) | |
| tree | 9f6dbbe18df3757072d891e68ac35bf96273b5bf | |
| parent | 931ba07b998467f7df373763b78b4e52e0c97930 (diff) | |
| download | famille-flask-f85089ab9ddf299ef879e9c6dfe6570bed497b89.tar.gz | |
Add configuration option for identity server location
| -rw-r--r-- | famille.py | 2 | ||||
| -rw-r--r-- | settings.ini | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -283,7 +283,7 @@ def edit_user(): @login_required def logout(): session.clear() - return redirect("http://id.horel.test/logout", 301) + return redirect(app.config["ID_SERVER"] + "logout", 301) @app.route('/rss.xml') diff --git a/settings.ini b/settings.ini index 9d7a0b4..a33d3fb 100644 --- a/settings.ini +++ b/settings.ini @@ -9,3 +9,4 @@ MAIL_USE_TLS = True MAIL_PORT = 587 MAIL_USERNAME = 'news.horel@gmail.com' MAIL_PASSWORD = 'Dlmatc06' +ID_SERVER = 'https://id.horel.org/' |
