Add support for custom sign-up URLs (#25014)
This commit is contained in:
1 parent
dfa5889fc0
commit
ca66e61b93
5 files changed
+19
-9
No files matched your search
@@ -85,6 +85,7 @@ class REST::InstanceSerializer < ActiveModel::Serializer
|
||||
enabled: registrations_enabled?,
|
||||
approval_required: Setting.registrations_mode == 'approved',
|
||||
message: registrations_enabled? ? nil : registrations_message,
|
||||
url: ENV.fetch('SSO_ACCOUNT_SIGN_UP', nil),
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user