diff --git a/README.md b/README.md index 01e1d3a..b14bd56 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,4 @@ account. Implement hook_password_strength_password_change_paths_alter(&$paths){} to override which paths are accessible when a user is forced to change their -password after a minimum strength requirement elevation. \ No newline at end of file +password after a minimum strength requirement elevation. diff --git a/password_strength.module b/password_strength.module index d0ae800..e24832d 100644 --- a/password_strength.module +++ b/password_strength.module @@ -678,7 +678,7 @@ function password_strength_set_user_score($uid, $score) { ->key(array( 'uid' => $uid, )) - ->fields(array('score' => $score, 'timestamp' => time())) + ->fields(array('score' => $score, 'timestamp' => REQUEST_TIME)) ->execute(); }