You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 17, 2021. It is now read-only.
Environment:
Redmine version 3.2.1.stable
Ruby version 2.3.1-p112 (2016-04-26) [x86_64-linux-gnu]
Rails version 4.2.6
Environment production
Database adapter Mysql2
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I needed this in plugins/redmine_omniauth_saml/lib/redmine_omniauth_saml/user_patch.rb
to prevent an issue with mass assignment:
error:
Current user: anonymous
WARNING: Can't mass-assign protected attributes for User: login
plugins/redmine_omniauth_saml/lib/redmine_omniauth_saml/user_patch.rb:12:in
find_or_create_from_omniauth' plugins/redmine_omniauth_saml/lib/redmine_omniauth_saml/account_controller_patch.rb:32:in
login_with_saml_callback'lib/redmine/sudo_mode.rb:63:in `sudo_mode'
Completed 422 Unprocessable Entity in 11ms (ActiveRecord: 5.7ms)
The text was updated successfully, but these errors were encountered: