mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
OpenId possibly fixed:
- The LightOpenId class' constructor now requires the hostname from where the requested started, added it now - sometimes need to invoke get_app() as $a was not around Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
e8e93768db
commit
6129eb1623
4 changed files with 5 additions and 4 deletions
|
@ -359,7 +359,7 @@ class User
|
|||
$_SESSION['register'] = 1;
|
||||
$_SESSION['openid'] = $openid_url;
|
||||
|
||||
$openid = new LightOpenID;
|
||||
$openid = new LightOpenID($a->get_hostname());
|
||||
$openid->identity = $openid_url;
|
||||
$openid->returnUrl = System::baseUrl() . '/openid';
|
||||
$openid->required = ['namePerson/friendly', 'contact/email', 'namePerson'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue