fix(signup): normalize account signup config checks

This commit is contained in:
Shivam Mishra
2026-03-10 14:04:33 +05:30
parent 9e918e0a9f
commit a94e252fdc
5 changed files with 81 additions and 4 deletions
+4
View File
@@ -14,4 +14,8 @@ class GlobalConfigService
GlobalConfig.clear_cache
i.value
end
def self.account_signup_enabled?
load('ENABLE_ACCOUNT_SIGNUP', 'false').to_s != 'false'
end
end