X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FProfile.php;h=0cff8ba287f0923f56657ccb3ef39a0c6d9d0fd5;hb=701dbdf7fc4979f05fde1c655b17ca3aff0a59e0;hp=2fcbde0779e8d98b72d0ff8b58c2ccd2f3fcf069;hpb=66da9976dc70d4a6c63e73ff9545684db881c07d;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 2fcbde0779..0cff8ba287 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -737,7 +737,7 @@ class Profile $magic_path = $basepath . '/magic' . '?owa=1&dest=' . $dest . '&' . $addr_request; // We have to check if the remote server does understand /magic without invoking something - $serverret = Network::curl($basepath . '/magic'); + $serverret = DI::httpRequest()->get($basepath . '/magic'); if ($serverret->isSuccess()) { Logger::log('Doing magic auth for visitor ' . $my_url . ' to ' . $magic_path, Logger::DEBUG); System::externalRedirect($magic_path);