diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-10 18:34:51 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-01-10 18:34:51 +0100 |
commit | f871d4a59f423de18bd9d44bdf23a54fd0028d99 (patch) | |
tree | 6d32e9d9534d08409fc518e963084ed5ef9e3aaf /source/pyAggr3g470r.py | |
parent | Changed import method of the 'auth' module. (diff) | |
download | newspipe-f871d4a59f423de18bd9d44bdf23a54fd0028d99.tar.gz newspipe-f871d4a59f423de18bd9d44bdf23a54fd0028d99.tar.bz2 newspipe-f871d4a59f423de18bd9d44bdf23a54fd0028d99.zip |
Minor bug fix: after changing the username, the username of the session variable must be updated.
Diffstat (limited to 'source/pyAggr3g470r.py')
-rwxr-xr-x | source/pyAggr3g470r.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 = "<p>Your username has been changed.</p>" tmpl = lookup.get_template("confirmation.html") return tmpl.render(message=message) |