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 + 1 file changed, 1 insertion(+) (limited to 'source/pyAggr3g470r.py') 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) -- cgit