mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-02 08:21:09 -08:00
Reverting back to or die
This commit is contained in:
parent
7a4cbce460
commit
c8351ae01b
|
@ -89,7 +89,7 @@ class AuthController extends Controller
|
|||
}
|
||||
|
||||
// Connecting to LDAP
|
||||
$connection = ldap_connect($ldaphost) || die("Could not connect to {$ldaphost}");
|
||||
$connection = ldap_connect($ldaphost) or die("Could not connect to {$ldaphost}");
|
||||
// Needed for AD
|
||||
ldap_set_option($connection, LDAP_OPT_REFERRALS, 0);
|
||||
ldap_set_option($connection, LDAP_OPT_PROTOCOL_VERSION, $ldapversion);
|
||||
|
|
Loading…
Reference in a new issue