We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc5d3b4 commit 00a1a57Copy full SHA for 00a1a57
src/Auth/Source/External.php
@@ -215,7 +215,8 @@ public function authenticate(array &$state): void
215
* Note the 'ReturnTo' parameter. This must most likely be replaced with
216
* the real name of the parameter for the login page.
217
*/
218
- HTTP::redirectTrustedURL($authPage, [
+ $HTTP = new HTTP();
219
+ $HTTP->redirectTrustedURL($authPage, [
220
'ReturnTo' => $returnTo,
221
]);
222
@@ -327,6 +328,7 @@ public function logout(array &$state): void
327
328
$parameters['ReturnTo'] = $state['ReturnTo'];
329
}
330
- HTTP::redirectTrustedURL($logout_url, $parameters);
331
332
+ $HTTP->redirectTrustedURL($logout_url, $parameters);
333
334
0 commit comments