aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-01-25 17:00:36 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-01-27 14:49:13 +0100
commit6c1bb2ac26ac3d13c607507c66a0769ba6155d46 (patch)
tree193f53afd9a54b6bcd2e141a05ddcd710765b034 /server
parentcd6c1b30de64c46a32cc1b9a8fd08b1721e6d104 (diff)
downloadsonarqube-6c1bb2ac26ac3d13c607507c66a0769ba6155d46.tar.gz
sonarqube-6c1bb2ac26ac3d13c607507c66a0769ba6155d46.zip
SONAR-7219 Remove sonar.security.updateUserAttributes property
Diffstat (limited to 'server')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb b/server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb
index 86c07064133..b3fb607fa07 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/lib/need_authentication.rb
@@ -148,7 +148,7 @@ class PluginRealm
end
else
# Existing user
- if details && Api::Utils.java_facade.getSettings().getBoolean('sonar.security.updateUserAttributes')
+ if details
user.name = details.getName()
user.email = details.getEmail()
end