Add support for custom sign-up URLs (#25014)

This commit is contained in:
Claire
2023-05-23 15:17:09 +02:00
committed by GitHub
parent dfa5889fc0
commit ca66e61b93
5 changed files with 19 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ module ApplicationHelper
if closed_registrations? || omniauth_only?
'https://joinmastodon.org/#getting-started'
else
new_user_registration_path
ENV.fetch('SSO_ACCOUNT_SIGN_UP', new_user_registration_path)
end
end