diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 6ede39b3..d7e2246d 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -15,7 +15,7 @@ def index def new authorize! :create, User alternative_location = SiteSetting.all_settings['signup_location'] - return redirect_to alternative_location if alternative_location + return redirect_to(alternative_location, allow_other_host: true) if alternative_location add_breadcrumb 'Sign up', new_user_path if signed_in?