Fix errors in keycloakpassword addon
parent
07993f7098
commit
04afbe36e3
|
@ -6,7 +6,6 @@
|
||||||
* Author: Ryan <https://verya.pe/profile/ryan>
|
* Author: Ryan <https://verya.pe/profile/ryan>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
use Friendica\App;
|
|
||||||
use Friendica\Core\Hook;
|
use Friendica\Core\Hook;
|
||||||
use Friendica\Core\Logger;
|
use Friendica\Core\Logger;
|
||||||
use Friendica\Core\Renderer;
|
use Friendica\Core\Renderer;
|
||||||
|
@ -92,7 +91,7 @@ function keycloakpassword_authenticate(array &$b)
|
||||||
$client_id,
|
$client_id,
|
||||||
$secret,
|
$secret,
|
||||||
$endpoint . '/logout',
|
$endpoint . '/logout',
|
||||||
[ 'refresh_token' => res['refresh_token'] ]
|
[ 'refresh_token' => $res['refresh_token'] ]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue