-
-
Notifications
You must be signed in to change notification settings - Fork 668
Closed
Description
We're getting quite a few spam signups again lately. One check we're already doing is to see if the new signup isn't too young.
Another step we can take is to see if the account doesn't have any repositories which could be an indication of a spam account. We'd have to do add the check here:
https://github.com/laravelio/laravel.io/blob/main/app/Http/Controllers/Auth/GithubController.php#L69
And add a hasPublicRepositories method on the GithubUser class to check if the user indeed has any public repos. Most likely this will involve an API call to GitHub over the REST or GraphQL API using the Laravel HTTP client. Additionally, we'll have to adjust existing tests and add new ones.
Metadata
Metadata
Assignees
Labels
No labels