@pitaj Yes, isAdmin() is the middleware, whereas isAdministrator is the library method. They are functionally similar, except the middleware handles redirecting the user to 403
Condition based Admin Approval
Hi Community Folks,
Rise and Shine
I want to know that Is there any way by which I can put some conditions on the registration queue process ?. I have a scenario, if users belong to a particular mail domain then they should not put it in the registration queue else put them.
Always getting support from you guys.
You will want to write a plugin that listens for
queueto true if the email belongs to a specific domain.
@baris Thanks I will try this solution. Always helpful.