From: Art4 Date: Wed, 4 Dec 2024 21:45:13 +0000 (+0000) Subject: add comment in Model User X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7b892fac9c48e5790b6628c2290538d4bf3e2647;p=friendica.git add comment in Model User --- diff --git a/src/Model/User.php b/src/Model/User.php index 3310695a8e..95562aa16b 100644 --- a/src/Model/User.php +++ b/src/Model/User.php @@ -521,7 +521,6 @@ class User /** * Get owner data by nick name * - * @param int $nick * @return boolean|array * @throws Exception */ @@ -1215,6 +1214,7 @@ class User $_SESSION['openid'] = $openid_url; $openid = new LightOpenID(DI::baseUrl()->getHost()); + // $openid->identity is private and cannot be set $openid->identity = $openid_url; $openid->returnUrl = DI::baseUrl() . '/openid'; $openid->required = ['namePerson/friendly', 'contact/email', 'namePerson'];