diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-07-02 14:16:22 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-07-02 14:16:22 +0200 |
commit | 409d7af7c9c6c97c8c00cada876a2bf967fa1526 (patch) | |
tree | 19defb2c97f293d4ed6150b0f5510019f0e3592d /inc/auth.php | |
parent | fd0cab2ee2d8c831bf1c086ab4015c9e74d3fe9c (diff) | |
download | rpg-409d7af7c9c6c97c8c00cada876a2bf967fa1526.tar.gz rpg-409d7af7c9c6c97c8c00cada876a2bf967fa1526.tar.bz2 |
disableactions support
This patch adds a config option to disable certain internal action commands of
DokuWiki's main dispatcher.
The options resendpasswd and openregister were removed because they can now set
through this new option.
The config plugin needs to be adjusted.
darcs-hash:20060702121622-7ad00-1e80e77bcfb0ae561fe7abd79cfbe1bb158be720.gz
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 72c87552d..345a2ba67 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -581,7 +581,7 @@ function act_resendpwd(){ global $auth; if(!$_POST['save']) return false; - if(!$conf['resendpasswd']) return false; + if(!actionOK('resendpwd')) return false; // should not be able to get here without modPass being possible... if(!$auth->canDo('modPass')) { |