mirror of
https://github.com/friendica/friendica
synced 2024-12-22 23:20:16 +00:00
Update src/Module/Security/OpenID.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
8b15bb9e66
commit
d9ab7efcd6
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ class OpenID extends BaseModule
|
||||||
$open_id_obj = new LightOpenID(DI::baseUrl()->getHost());
|
$open_id_obj = new LightOpenID(DI::baseUrl()->getHost());
|
||||||
/** @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 set via magic setter */
|
||||||
$open_id_obj->identity = $authId;
|
$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));
|
$session->set('openid_server', $open_id_obj->discover($open_id_obj->identity));
|
||||||
|
|
||||||
if (\Friendica\Module\Register::getPolicy() === \Friendica\Module\Register::CLOSED) {
|
if (\Friendica\Module\Register::getPolicy() === \Friendica\Module\Register::CLOSED) {
|
||||||
|
|
Loading…
Reference in a new issue