Esempio n. 1
0
 public function postLogin(LoginRequest $request)
 {
     if ($this->validateLogin()) {
         flash()->success('Bienvenido', 'este es tu dashboard');
         return redirect()->to(language::getRoute('dashboard'));
     }
     return redirect()->back()->withErrors(trans('errors.invalid_user'))->withInput();
 }