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