aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--famille.py2
-rw-r--r--settings.ini1
2 files changed, 2 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')
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/'