Removed some dumb comments

This commit is contained in:
snipe 2016-12-01 02:25:53 -08:00
parent 4c418bf622
commit 7ccef51a4f

View file

@ -56,16 +56,13 @@ class AuthController extends Controller
function showLoginForm() function showLoginForm()
{ {
// Is the user logged in?
if (Auth::check()) { if (Auth::check()) {
return redirect()->intended('dashboard'); return redirect()->intended('dashboard');
} }
// Show the page
return View::make('auth.login'); return View::make('auth.login');
} }
private function login_via_ldap(Request $request) private function login_via_ldap(Request $request)
{ {
LOG::debug("Binding user to LDAP."); LOG::debug("Binding user to LDAP.");
@ -180,8 +177,6 @@ class AuthController extends Controller
// Unset the page we were before from the session // Unset the page we were before from the session
\Session::forget('loginRedirect'); \Session::forget('loginRedirect');
// Redirect to the users page // Redirect to the users page
return redirect()->to($redirect)->with('success', trans('auth/message.signin.success')); return redirect()->to($redirect)->with('success', trans('auth/message.signin.success'));
} }