Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add disallow user register feature support #267

Merged
merged 2 commits into from
Apr 17, 2023

Conversation

alimy
Copy link
Collaborator

@alimy alimy commented Apr 17, 2023

  • add disallow user register feature support

add custom whether provide user register configure in web/.env support.
Set the value of VITE_ALLOW_USER_REGISTER in file web/.env to custom whether provide user register feature.

    # file: web/.env or web/.env.local
    ...
    # 局部参数
    VITE_ALLOW_USER_REGISTER=true
    ...

and disallow user register in backend(add Web:DisallowUserRegister feature in config.yaml):

    # file config.yaml
    ...
    Features:
      Default: ["Base", "Postgres", "Zinc", "LocalOSS", "LoggerZinc", "BigCacheIndex", "Friendship", "Service", "Web:DisallowUserRegister"]
    ...

@alimy alimy merged commit 0f4ba84 into rocboss:dev Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant