Skip to content

Commit 9f7fe35

Browse files
committed
Fix incorrect handling of logout
1 parent 5081a28 commit 9f7fe35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Auth/Source/Negotiate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function authenticate(array &$state): void
218218
$state['Attributes'] = $lookup;
219219
// Override the backend so logout will know what to look for
220220
$state['LogoutState'] = [
221-
'negotiate:backend' => null,
221+
'negotiate:backend' => $this->backend,
222222
];
223223
Logger::info('Negotiate - authenticate(): ' . $userPrincipalName . ' authorized.');
224224
Auth\Source::completeAuth($state);

0 commit comments

Comments
 (0)