From 977588999a0d88170b399d2238200660bffa9acd Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 4 Oct 2017 10:35:33 +0200 Subject: [PATCH] fixes #789, add url param hide_redirect_error --- identification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/identification.php b/identification.php index 6f236a93b..045a3f74d 100644 --- a/identification.php +++ b/identification.php @@ -53,7 +53,7 @@ $redirect_to = ''; if ( !empty($_GET['redirect']) ) { $redirect_to = urldecode($_GET['redirect']); - if ( is_a_guest() and $conf['guest_access'] ) + if ( $conf['guest_access'] and !isset($_GET['hide_redirect_error'])) { $page['errors'][] = l10n('You are not authorized to access the requested page'); }