From c73cba33235c0bd3bc80f87c8d127d4228cc3ccb Mon Sep 17 00:00:00 2001 From: misund Date: Thu, 29 Aug 2013 12:30:03 +0200 Subject: [PATCH] Extra failsafe for failing new registrants. --- inside/Page.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inside/Page.php b/inside/Page.php index a114183..50b95fd 100644 --- a/inside/Page.php +++ b/inside/Page.php @@ -453,7 +453,9 @@ class Page { default: $this->_displayHome(); } - + // If you're not in this block, you failed the capability test. + } elseif ( 'register-user' == $this->page) { + $this->_displayHome(); } else { $this->_displayAccessDenied(); }