]> source.dussan.org Git - redmine.git/commitdiff
Merged r14550 (#20490).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Sep 2015 11:12:18 +0000 (11:12 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 12 Sep 2015 11:12:18 +0000 (11:12 +0000)
git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@14551 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/models/user.rb

index b36447cadd7ca744467a1287c3fd67578d081997..b6aafdc0e1bc1802662499fd9673edfb20b85f3a 100644 (file)
@@ -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',