changeset 907 | 44851d7e9bda |
parent 904 | 10076b28194b |
child 912 | 95d0d8596c87 |
--- a/includes/pageprocess.php Mon Apr 13 14:43:28 2009 -0400 +++ b/includes/pageprocess.php Mon Apr 13 16:57:20 2009 -0400 @@ -848,6 +848,15 @@ ); } + // Validate re-auth + if ( !$session->sid_super ) + { + return array( + 'success' => false, + 'error' => 'access_denied_need_reauth' + ); + } + // Validate input $reason = trim($reason); if ( !in_array($protection_level, array(PROTECT_NONE, PROTECT_FULL, PROTECT_SEMI)) || empty($reason) )