You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @hzjackq! I'm here to help you with any bugs, questions, or contributions. I'll do my best to assist you while we wait for a human maintainer.
To unregister the button and prevent unauthorized use after setting REGISTER_ENABLED=0 in the env file, ensure that the registerEnabled variable correctly reflects the configuration. The code snippet shows that registerEnabled is determined by config?.registerEnabled !== 0. Verify that the config object is correctly populated with the environment variable value. If REGISTER_ENABLED=0 is set, registerEnabled should be false, and the button should not allow registration.
Ensure that the useSystemConfig hook correctly fetches the configuration and that the environment variable is properly loaded into the config object. If the issue persists, check the implementation of useSystemConfig to confirm it retrieves the environment variable correctly [1].
Self Checks
Describe your problem
env文件中修改了
REGISTER_ENABLED=0
似乎无效
The text was updated successfully, but these errors were encountered: