summaryrefslogtreecommitdiff
path: root/stashbox/stashbox.py
diff options
context:
space:
mode:
authorAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:12:44 -0500
committerAaron Williamson <aaron@copiesofcopies.org>2013-03-06 09:12:44 -0500
commit673b5ffc0f4fe267901d2acef5212bc158b7885e (patch)
tree25e35ea9e74a4c7faa5a12fb166560ff9bd8c8a4 /stashbox/stashbox.py
parent10172772b9a2ee0f983e4fb4f6704df1b4cda1a0 (diff)
Fixed bug in edit-user view
Diffstat (limited to 'stashbox/stashbox.py')
-rw-r--r--stashbox/stashbox.py4
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)