mirror of
https://github.com/friendica/friendica
synced 2024-12-22 18:00:16 +00:00
add comment in Model User
This commit is contained in:
parent
07e9f0f54a
commit
7b892fac9c
1 changed files with 1 additions and 1 deletions
|
@ -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'];
|
||||
|
|
Loading…
Reference in a new issue