I hava the following problem:
My App should only allow to register users if you are an admin. But the standard email/password authentication allows every register request.
How can i enhance this standard authentication by adding the fact that only users with a specific field like isAdmin can register Users?
Thanks in advance