From: rabuzarus Date: Thu, 12 Apr 2018 15:10:48 +0000 (+0200) Subject: local_user() could also be a remote_user() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=130e16968ee35dbe02b73753b0a651b9eeb411cf;p=friendica.git local_user() could also be a remote_user() --- diff --git a/boot.php b/boot.php index 65867593df..217a5f4e1d 100644 --- a/boot.php +++ b/boot.php @@ -953,10 +953,12 @@ function public_contact() */ function remote_user() { - // You cannot be both local and remote - if (local_user()) { - return false; - } + // You cannot be both local and remote. + // Unncommented by rabuzarus because remote authentication to local + // profiles wasn't possible anymore (2018-04-12). +// if (local_user()) { +// return false; +// } if (x($_SESSION, 'authenticated') && x($_SESSION, 'visitor_id')) { return intval($_SESSION['visitor_id']); }