aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/web.py
diff options
context:
space:
mode:
Diffstat (limited to 'ihatemoney/web.py')
-rw-r--r--ihatemoney/web.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ihatemoney/web.py b/ihatemoney/web.py
index 1b80ab6..a3b1072 100644
--- a/ihatemoney/web.py
+++ b/ihatemoney/web.py
@@ -235,6 +235,8 @@ def authenticate(project_id=None):
# add the project on the top of the list
session["projects"].insert(0, (project_id, project.name))
session[project_id] = True
+ # Set session to permanent to make language choice persist
+ session.permanent = True
session.update()
setattr(g, "project", project)
return redirect(url_for(".list_bills"))