'How to implement Laravel Email verification for multi auth?
I follow what the documentation says and it works perfectly fine for single auth (in my case Patient Model). Now, i want to implement it on another user (Doctor). However, based on the documentation, laravel states that the routes responsible for email verification should be named exactly the same. So if i try to create a separate email verification, there would be conflicts on the name of the routes.
Solution 1:[1]
If youre using the bmatovu\multi-auth package, they have a seamless way that enables you to have multi auth and also leverage on email verification.
You can check out the wiki at https://github.com/mtvbrianking/multi-auth/wiki/Email-Verification
Cheers.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Abe Nalisi |
