Update src/Module/Security/OpenID.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Artur Weigandt 2024-12-06 23:23:33 +01:00 committed by GitHub
parent 8b15bb9e66
commit d9ab7efcd6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -71,7 +71,7 @@ class OpenID extends BaseModule
$open_id_obj = new LightOpenID(DI::baseUrl()->getHost());
/** @phpstan-ignore-next-line $openid->identity is private, but will be set via magic setter */
$open_id_obj->identity = $authId;
/** @phpstan-ignore-next-line $openid->identity is private, but will be set via magic setter */
/** @phpstan-ignore-next-line $openid->identity is private, but will be retrieved via magic getter */
$session->set('openid_server', $open_id_obj->discover($open_id_obj->identity));
if (\Friendica\Module\Register::getPolicy() === \Friendica\Module\Register::CLOSED) {