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'); }