Project

General

Profile

Actions

Defect #20490

closed

WARNING: Can't mass-assign protected attributes for User

Added by Pavel Potcheptsov over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I got this warning when untick Administrator in user's settings.
I also thought that I will be asked for password as required by new Sudo mode, but I haven't been asked.

WARNING: Can't mass-assign protected attributes for User: login
    lib/redmine/safe_attributes.rb:84:in `safe_attributes='
    app/controllers/users_controller.rb:135:in `update'
    lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Actions

Also available in: Atom PDF