Skip to content

A free open source IT asset/license management system

Removed some dumb comments

snipe7ccef51a4f53
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'));
}