FIX: redirect to wrong URL after account creation on subfolder install

This commit is contained in:
Neil Lalonde 2018-08-24 10:34:31 -04:00
parent 82dcc5cbfa
commit 9bf4333491
1 changed files with 1 additions and 1 deletions

View File

@ -675,7 +675,7 @@ class UsersController < ApplicationController
if SiteSetting.enable_sso_provider && payload = cookies.delete(:sso_payload)
return redirect_to(session_sso_provider_url + "?" + payload)
else
return redirect_to("/")
return redirect_to(path('/'))
end
end