diff --git a/lib/redmine.rb b/lib/redmine.rb index 1a4aba0fb1..9ee1f21831 100644 --- a/lib/redmine.rb +++ b/lib/redmine.rb @@ -255,7 +255,7 @@ Redmine::MenuManager.map :my_menu do |menu| }, :caption => :button_change_password, :if => (proc do - User.current.change_password_allowed? && !OmniauthLogin.disable_password_login? + User.current.change_password_allowed? && !Concerns::OmniauthLogin.disable_password_login? end), :html => { :class => 'icon2 icon-locked' }