thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

After login To Voyager Via phone number , It Keeps redirecting to my application homepage. #5083

Closed MOH19966 closed 3 years ago

MOH19966 commented 4 years ago

Version information

Expected behavior

login into voyager admin panel .

fletch3555 commented 4 years ago

"last version" is not a valid version. Please be specific when opening issues. Voyager doesn't provide a "phone number login" out of the box, so I can only assume you've changed some things, though we have no way of knowing what.

MOH19966 commented 4 years ago

image @fletch3555 sorry sir, i have changed it my project doesn't support emails , only phone numbers. so i modify this function , and it works in the beginning but after remigrate it keeps redirect to my home application

MOH19966 commented 4 years ago

image and this is my routes file

MrCrayon commented 4 years ago

Redirect to homepage after login means you don't have right permissions. Check user has a role assigned with browse_admin.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.