diff options
Diffstat (limited to 'inc/auth.php')
-rw-r--r-- | inc/auth.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/auth.php b/inc/auth.php index ddc4007cf..7ae0da1a4 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -541,6 +541,7 @@ function act_resendpwd(){ global $auth; if(!$_POST['save']) return false; + if(!$conf['resendpasswd']) return false; // should not be able to get here without modifyUser being possible... if(!$auth->canDo('modifyUser')) { |