function protected_node_enterpassword_submit in Protected Node 5
Same name and namespace in other branches
- 6 protected_node.redirect.inc \protected_node_enterpassword_submit()
- 7 protected_node.redirect.inc \protected_node_enterpassword_submit()
- 1.0.x protected_node.redirect.inc \protected_node_enterpassword_submit()
File
- ./
protected_node.module, line 308
Code
function protected_node_enterpassword_submit($form_id, $form) {
$_SESSION['_protected_node']['passwords'][$_SESSION['_protected_node']['current']] = TRUE;
unset($_SESSION['_protected_node']['current']);
}