Is there a way to modify this to allow any email that is of a certain domain?
Yeah definitely. Maybe the middleware should add a verifyEmail function, that return true if the email is allowed.
Just added support for it!
Is there a way to modify this to allow any email that is of a certain domain?
Yeah definitely. Maybe the middleware should add a verifyEmail function, that return true if the email is allowed.
Just added support for it!