This fixes the controller signature error people are getting with LDAP logins (#9466)
This commit is contained in:
parent
d90abdf86f
commit
72a813f23d
1 changed files with 2 additions and 1 deletions
|
@ -140,8 +140,9 @@ class LoginController extends Controller
|
||||||
*
|
*
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
private function loginViaLdap(LdapAd $ldap, Request $request): User
|
private function loginViaLdap(Request $request): User
|
||||||
{
|
{
|
||||||
|
$ldap = \App::make( LdapAd::class);
|
||||||
try {
|
try {
|
||||||
return $ldap->ldapLogin($request->input('username'), $request->input('password'));
|
return $ldap->ldapLogin($request->input('username'), $request->input('password'));
|
||||||
} catch (\Exception $ex) {
|
} catch (\Exception $ex) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue