diff options
author | Matthias Grimm <matthiasgrimm@users.sourceforge.net> | 2005-11-05 23:33:11 +0100 |
---|---|---|
committer | Matthias Grimm <matthiasgrimm@users.sourceforge.net> | 2005-11-05 23:33:11 +0100 |
commit | 8f8ae16402fda48c0f8464fd01b91475d3d044c1 (patch) | |
tree | 552715e265d7ecf61c738dbb63aacecc6e146e88 | |
parent | d2dde4eb797d69646f31f2b86b686db7707427d3 (diff) | |
download | rpg-8f8ae16402fda48c0f8464fd01b91475d3d044c1.tar.gz rpg-8f8ae16402fda48c0f8464fd01b91475d3d044c1.tar.bz2 |
autopasswd_fix
Resending of a new password must depend on $conf['autopasswd']. Only
if $conf['autopasswd']
darcs-hash:20051105223311-4145d-598b7c8d9d10eb8c3612ce2c6beb543e8b16e430.gz
-rw-r--r-- | inc/html.php | 2 |
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>'; |