]> source.dussan.org Git - sonarqube.git/commitdiff
Fix previous change on need_authentication.rb
authorSimon Brandhof <simon.brandhof@gmail.com>
Fri, 30 Nov 2012 15:38:11 +0000 (16:38 +0100)
committerSimon Brandhof <simon.brandhof@gmail.com>
Fri, 30 Nov 2012 15:38:11 +0000 (16:38 +0100)
sonar-server/src/main/webapp/WEB-INF/lib/need_authentication.rb

index 49a54905598ed18970f8a58c5ac916607131c301..2e2212b79dc2890b301225ea5de78d2ae9036f39 100644 (file)
@@ -45,7 +45,7 @@ class PluginRealm
     @java_authenticator = java_realm.doGetAuthenticator()
     @java_users_provider = java_realm.getUsersProvider()
     @java_groups_provider = java_realm.getGroupsProvider()
-    @save_password = Api::Utils.java_facade.new.getSettings().getBoolean('sonar.security.savePassword')
+    @save_password = Api::Utils.java_facade.getSettings().getBoolean('sonar.security.savePassword')
   end
 
   def authenticate?(username, password, servlet_request)