mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Removed some dumb comments
This commit is contained in:
parent
4c418bf622
commit
7ccef51a4f
|
@ -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'));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue