mirror of
https://github.com/friendica/friendica
synced 2025-04-24 21:50:10 +00:00
Adapt BaseURL calls to new UriInterface
This commit is contained in:
parent
9e6d95284b
commit
f0c29edcde
101 changed files with 218 additions and 241 deletions
|
@ -43,7 +43,7 @@ class OpenID extends BaseModule
|
|||
|
||||
if (!empty($_GET['openid_mode']) && !empty($session->get('openid'))) {
|
||||
|
||||
$openid = new LightOpenID(DI::baseUrl()->getHostname());
|
||||
$openid = new LightOpenID(DI::baseUrl()->getHost());
|
||||
|
||||
$l10n = DI::l10n();
|
||||
|
||||
|
@ -82,7 +82,7 @@ class OpenID extends BaseModule
|
|||
$session->set('openid_identity', $authId);
|
||||
|
||||
// Detect the server URL
|
||||
$open_id_obj = new LightOpenID(DI::baseUrl()->getHostname());
|
||||
$open_id_obj = new LightOpenID(DI::baseUrl()->getHost());
|
||||
$open_id_obj->identity = $authId;
|
||||
$session->set('openid_server', $open_id_obj->discover($open_id_obj->identity));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue