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 | |
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')
-rwxr-xr-x | source/pyAggr3g470r.py | 1 | ||||
-rwxr-xr-x | source/var/password | 2 |
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 |