aboutsummaryrefslogtreecommitdiffstats
path: root/famille.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut@horel.org>2018-12-31 19:27:20 -0500
committerThibaut Horel <thibaut@horel.org>2018-12-31 19:27:20 -0500
commitf85089ab9ddf299ef879e9c6dfe6570bed497b89 (patch)
tree9f6dbbe18df3757072d891e68ac35bf96273b5bf /famille.py
parent931ba07b998467f7df373763b78b4e52e0c97930 (diff)
downloadfamille-flask-f85089ab9ddf299ef879e9c6dfe6570bed497b89.tar.gz
Add configuration option for identity server location
Diffstat (limited to 'famille.py')
-rw-r--r--famille.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/famille.py b/famille.py
index 35ad3ee..c2b420a 100644
--- a/famille.py
+++ b/famille.py
@@ -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')