thecodeholic / laravel-vue-ecommerce

E-commerce project with Laravel and Vue.js
593 stars 176 forks source link

Prevent admin from login on user site #10

Open furqanramzan opened 1 year ago

furqanramzan commented 1 year ago

Hi! I have tried to log in to admin from the user site and encountered the following error.

Screenshot_20230410_005124

So, what's happening, is that there is no check that the user who tries to log in from the user side should not be admin. I have added it.