From 7b892fac9c48e5790b6628c2290538d4bf3e2647 Mon Sep 17 00:00:00 2001 From: Art4 Date: Wed, 4 Dec 2024 21:45:13 +0000 Subject: [PATCH] add comment in Model User --- src/Model/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'];