in this framework i want to use multi login and i have userAccount
model with define table with userAccount
names.
in this below Route
i want to use userAccount
model and table for login
Route::post('accountAuth', array('as'=>'accountAuth', 'before'=>'csrf', function(){
if ( Auth::attempt( array( 'username'=>Input::get('username'), 'password'=>Input::get('password') ) ) ){
Return View::make('layouts.account.main');
}
else
return Redirect::route('userLogin')
->with('message','ERROR')
->withInput();
}));
how to do this action for enable or using multi login?