From 130e16968ee35dbe02b73753b0a651b9eeb411cf Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Thu, 12 Apr 2018 17:10:48 +0200 Subject: [PATCH] local_user() could also be a remote_user() --- boot.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/boot.php b/boot.php index 65867593d..217a5f4e1 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']); }