From 8f8ae16402fda48c0f8464fd01b91475d3d044c1 Mon Sep 17 00:00:00 2001 From: Matthias Grimm <matthiasgrimm@users.sourceforge.net> Date: Sat, 5 Nov 2005 23:33:11 +0100 Subject: [PATCH] autopasswd_fix Resending of a new password must depend on $conf['autopasswd']. Only if $conf['autopasswd'] darcs-hash:20051105223311-4145d-598b7c8d9d10eb8c3612ce2c6beb543e8b16e430.gz --- inc/html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>'; -- GitLab