aboutsummaryrefslogtreecommitdiff
path: root/source
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
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')
-rwxr-xr-xsource/pyAggr3g470r.py1
-rwxr-xr-xsource/var/password2
2 files changed, 2 insertions, 1 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)
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
bgstack15