From f871d4a59f423de18bd9d44bdf23a54fd0028d99 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 10 Jan 2013 18:34:51 +0100 Subject: Minor bug fix: after changing the username, the username of the session variable must be updated. --- source/pyAggr3g470r.py | 1 + source/var/password | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 19a0e550..479d8562 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -524,6 +524,7 @@ class pyAggr3g470r(object): """ result = auth.change_username(self.auth.username, new_username) if result: + self.auth.username = new_username message = "

Your username has been changed.

" tmpl = lookup.get_template("confirmation.html") return tmpl.render(message=message) diff --git a/source/var/password b/source/var/password index a1086000..be51ecd2 100755 --- a/source/var/password +++ b/source/var/password @@ -1 +1 @@ -admin;d033e22ae348aeb5660fc2140aec35850c4da997 \ No newline at end of file +admin;d033e22ae348aeb5660fc2140aec35850c4da997 -- cgit