sleeping-owl / admin

Administrative interface builder for Laravel
http://sleeping-owl.github.io/
MIT License
503 stars 260 forks source link

L5.2 auth problem #328

Open vadimsg opened 8 years ago

vadimsg commented 8 years ago

L5.2 branch works but when I login in admin panel it automatically logs in user from User model with the same id as admin and same thing happens when user logs in. Wtf and how can I fix it? Has someone the same problem?

neverSeen1993 commented 8 years ago

same for me

neverSeen1993 commented 8 years ago

it appears that after this line in sleeping-owl AuthController@postLogin method if (AdminAuth::attempt($data)) authenticated user gets logged out

butschster commented 8 years ago

Use https://github.com/LaravelRUS/SleepingOwlAdmin