]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-7308 Index users created with signup
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 2 May 2016 09:28:06 +0000 (11:28 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 3 May 2016 12:26:31 +0000 (14:26 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/users_controller.rb

index 40221c6465fbc0508bb300f0583a575ad6bc4d4d..0b3db884bf7e44728d07e65a7517a3bd05b29e26 100644 (file)
@@ -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