Skip to content

A platform for community discussion. Free, open, simple.

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

Neil Lalonde9bf43334919b
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
index eff18ec2e88..2c12f40d47b 100644
--- a/app/controllers/users_controller.rb
+++ b/app/controllers/users_controller.rb
@@ -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