##// END OF EJS Templates
Merged r14550 (#20490)....
Jean-Philippe Lang -
r14169:d3a248546703
parent child
Show More
@@ -656,8 +656,7 class User < Principal
656 (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?)
656 (!admin? || User.active.where("admin = ? AND id <> ?", true, id).exists?)
657 end
657 end
658
658
659 safe_attributes 'login',
659 safe_attributes 'firstname',
660 'firstname',
661 'lastname',
660 'lastname',
662 'mail',
661 'mail',
663 'mail_notification',
662 'mail_notification',
General Comments 0
You need to be logged in to leave comments. Login now