aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers/LoginController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Controllers/LoginController.php')
-rw-r--r--app/Http/Controllers/LoginController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Http/Controllers/LoginController.php b/app/Http/Controllers/LoginController.php
index 02779bf..be1de1d 100644
--- a/app/Http/Controllers/LoginController.php
+++ b/app/Http/Controllers/LoginController.php
@@ -44,7 +44,7 @@ class LoginController extends Controller
//return redirect('login')->with('status', 'Submitted.');
//return Redirect::back()->with('status', 'Submitted.');
if (Auth::attempt($request->only('email', 'password')))
- return redirect()->intended(route('home'));
+ return redirect()->intended(route('reservations'));
else return Redirect::back()
->withErrors(['failed' => ['Bad credentials!']]);
}