if the columns in the table value of admin, I want to show the admin page, not water to another page
$type = array('type' =>'Admin');
if (Auth::check($type))
{
return view('admin.index');
}
Auth::logout();
return View::make('admin.auth.login');
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1O2RF9P
via IFTTT
Aucun commentaire:
Enregistrer un commentaire