aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/web/views/admin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py
index 05159807..d8472d9b 100644
--- a/src/web/views/admin.py
+++ b/src/web/views/admin.py
@@ -134,6 +134,6 @@ def toggle_user(user_id=None):
else:
act_txt = 'activated' if user.is_active else 'desactivated'
message = gettext('User %(nickname)s successfully %(is_active)s',
- login=user.nickname, is_active=act_txt)
+ nickname=user.nickname, is_active=act_txt)
flash(message, 'success')
return redirect(url_for('admin.dashboard'))
bgstack15