aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-05-02 11:28:06 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-05-03 14:26:31 +0200
commita7b63cbad6638766948fe3d76dc98f26b4798bdc (patch)
treea64157687d82da88490f688193bb52d39819e39f
parent116d1f01a872b83be5aedf8a700be10556c091d8 (diff)
downloadsonarqube-a7b63cbad6638766948fe3d76dc98f26b4798bdc.tar.gz
sonarqube-a7b63cbad6638766948fe3d76dc98f26b4798bdc.zip
SONAR-7308 Index users created with signup
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb
index 40221c6465f..0b3db884bf7 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb
@@ -45,6 +45,7 @@ class UsersController < ApplicationController
cookies.delete :auth_token
@user=prepare_user
if @user.save
+ Internal.users_api.index()
@user.notify_creation_handlers
flash[:notice] = 'Please log in now.'
redirect_to home_url