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

🐛 Bug Report: Auth > Users limit = 0 not possible #7505

Open
2 tasks done
step135 opened this issue Jan 28, 2024 · 4 comments
Open
2 tasks done

🐛 Bug Report: Auth > Users limit = 0 not possible #7505

step135 opened this issue Jan 28, 2024 · 4 comments
Assignees
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.

Comments

@step135
Copy link

step135 commented Jan 28, 2024

👟 Reproduction steps

I am not able to prohibit creating accounts, because when I choose 0, the button is disabled. There is no button to prohibit user creations so I want to use this workaround.

👍 Expected behavior

0 should be possible to available possibility

👎 Actual Behavior

0 disables button

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Something else

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@step135 step135 added the bug Something isn't working label Jan 28, 2024
@Megamannen
Copy link

And creating a dummy blocked user and setting limit to 1 is out of the question?

@stnguyen90 stnguyen90 added the product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. label Feb 1, 2024
@stnguyen90
Copy link
Contributor

@step135, thanks for creating this issue! 🙏🏼 We use 0 for unlimited so as @Megamannen, the best thing to do would be to set it to 1 while having 1 user already created.

@stnguyen90 stnguyen90 self-assigned this Feb 1, 2024
@step135
Copy link
Author

step135 commented Feb 2, 2024

So then my feature request is to support button that completely disables creating new accounts and it can be implemented by setting the limit to -1 if 0 means infinity.

@eldadfux
Copy link
Member

You can disable all authentication methods or the Auth service in your project settings and get the exact same effects.

Option 1 - auth settings:
image

Option 2 - project settings:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Projects
None yet
Development

No branches or pull requests

4 participants