aboutsummaryrefslogtreecommitdiff
path: root/source/pyAggr3g470r.py
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-01-10 18:34:51 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-01-10 18:34:51 +0100
commitf871d4a59f423de18bd9d44bdf23a54fd0028d99 (patch)
tree6d32e9d9534d08409fc518e963084ed5ef9e3aaf /source/pyAggr3g470r.py
parentChanged import method of the 'auth' module. (diff)
downloadnewspipe-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-xsource/pyAggr3g470r.py1
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)
bgstack15