Extra failsafe for failing new registrants.
This commit is contained in:
1 parent
72272c9455
commit
c73cba3323
1 file changed
+3
-1
+3
-1
@@ -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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user