diff options
Diffstat (limited to 'stashbox/stashbox.py')
-rw-r--r-- | stashbox/stashbox.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stashbox/stashbox.py b/stashbox/stashbox.py index bd17d1b..d79f729 100644 --- a/stashbox/stashbox.py +++ b/stashbox/stashbox.py @@ -197,9 +197,9 @@ class EditUser: form_update.fill(user) return render.index(form) - models.update_user(id, form.d.name, form.d.password) + models.update_user(id, form.d.username, form.d.password) - session._initializer['messages'].append('Updated user %s' % form.d.name) + session._initializer['messages'].append('Updated user %s' % form.d.username) raise web.seeother('/user/%s/edit/' % id) |