Skip to content
Browse files

MDL-11058 changeme password not always required to be changed

  • Loading branch information...
1 parent e436033 commit dd383bd9a76b572b7432431cae9d287743f41c0e skodak committed Aug 29, 2007
Showing with 4 additions and 0 deletions.
  1. +4 −0 login/index.php
View
4 login/index.php
@@ -175,6 +175,10 @@
/// 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);
+ }
//Select password change url
if ($userauth->can_change_password()) {
if ($changeurl = $userauth->change_password_url()) {

0 comments on commit dd383bd

Please sign in to comment.
Something went wrong with that request. Please try again.