Skip to content

Commit 630dfb1

Browse files
authored
Update Negotiate.php
1 parent d303ed5 commit 630dfb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Auth/Source/Negotiate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function authenticate(array &$state): void
138138
if (
139139
$disabled
140140
|| (!empty($_COOKIE['NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT'])
141-
&& $_COOKIE['NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT'] == 'True')
141+
&& $_COOKIE['NEGOTIATE_AUTOLOGIN_DISABLE_PERMANENT'] === 'true')
142142
) {
143143
Logger::debug('Negotiate - session disabled. falling back');
144144
$this->fallBack($state);

0 commit comments

Comments
 (0)