summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/html.php b/inc/html.php
index 8d48d5397..f81a2528b 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -79,7 +79,7 @@ function html_login(){
print '</p>';
}
- if (auth_canDo('modifyUser')) {
+ if (auth_canDo('modifyUser') && $conf['autopasswd']) {
print '<p>';
print $lang['pwdforget'];
print ': <a href="'.wl($ID,'do=resendpwd').'" class="wikilink1">'.$lang['resendpwd'].'</a>';