MDL-11058 changeme password not always required to be changed; backported from HEAD

This commit is contained in:
skodak
2007-08-29 18:20:52 +00:00
parent 69e5b55d03
commit cd93c36de6
+4
View File
@@ -181,6 +181,10 @@ httpsrequired();
/// check whether the user should be changing password
if (get_user_preferences('auth_forcepasswordchange', false) || $frm->password == 'changeme'){
if ($frm->password == 'changeme') {
//force the change
set_user_preference('auth_forcepasswordchange', true);
}
if ($passwordchangeurl != '') {
redirect($passwordchangeurl);
} else {