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

Enforce users to verify their DIscord account #139

Open
Staninna opened this issue Aug 29, 2024 · 1 comment
Open

Enforce users to verify their DIscord account #139

Staninna opened this issue Aug 29, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@Staninna
Copy link

I would like to allow only verified Discord accounts to access my app because unverified accounts could be easily mass-created and potentially overwhelm my app with fake users. Although this scenario is unlikely, it would be great to have an option or feature to enforce this restriction. If such a feature already exists, please guide me on how to enable it, as I haven't been able to find it. Additionally, I want to ensure that unverified users are not added to the users' table at all.

@Staninna Staninna added the enhancement New feature or request label Aug 29, 2024
@JakyeRU
Copy link
Owner

JakyeRU commented Aug 29, 2024

Hello @Staninna,

Larascord does not have this feature out of the box. I may add it in the future. Meanwhile, you can use Model Observers to listen to the created event and delete the user if it is not verified. The User model has a verified property you can check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants