From 7ccef51a4f53af9b54f293249a6a3895a1afa233 Mon Sep 17 00:00:00 2001 From: snipe Date: Thu, 1 Dec 2016 02:25:53 -0800 Subject: [PATCH] Removed some dumb comments --- app/Http/Controllers/Auth/AuthController.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Http/Controllers/Auth/AuthController.php b/app/Http/Controllers/Auth/AuthController.php index d634dcc7ba..bd9fc475cb 100644 --- a/app/Http/Controllers/Auth/AuthController.php +++ b/app/Http/Controllers/Auth/AuthController.php @@ -56,16 +56,13 @@ class AuthController extends Controller function showLoginForm() { - - // Is the user logged in? if (Auth::check()) { return redirect()->intended('dashboard'); } - - // Show the page return View::make('auth.login'); } + private function login_via_ldap(Request $request) { LOG::debug("Binding user to LDAP."); @@ -180,8 +177,6 @@ class AuthController extends Controller // Unset the page we were before from the session \Session::forget('loginRedirect'); - - // Redirect to the users page return redirect()->to($redirect)->with('success', trans('auth/message.signin.success')); }