middleware('guest')->except('logout'); } /** * Show our themed login page */ public function showLoginForm() { $login_note = ''; if (file_exists('login_note.txt')) $login_note = file_get_contents('login_note.txt'); return view('architect::auth.login')->with('login_note',$login_note); } /** * Get the login username to be used by the controller. * * @return string */ public function username() { return config('ldap_auth.identifiers.ldap.locate_users_by'); } }