]> git.mxchange.org Git - friendica.git/commitdiff
add comment in Model User
authorArt4 <art4@wlabs.de>
Wed, 4 Dec 2024 21:45:13 +0000 (21:45 +0000)
committerArt4 <art4@wlabs.de>
Wed, 4 Dec 2024 21:45:13 +0000 (21:45 +0000)
src/Model/User.php

index 3310695a8e8f714ed2377fb14e7faecae2b4bfba..95562aa16b36fcc1a804ff2930cbf1480ef03386 100644 (file)
@@ -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'];