summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/user.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index b36447cad..b6aafdc0e 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -656,8 +656,7 @@ class User < Principal
(!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?)
end
- safe_attributes 'login',
- 'firstname',
+ safe_attributes 'firstname',
'lastname',
'mail',
'mail_notification',