Extra failsafe for failing new registrants.

This commit is contained in:
misund committed 2013-08-29 12:30:03 +02:00
1 parent 72272c9455
commit c73cba3323
1 file changed
+3 -1
+3 -1
View File
@@ -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();
}