diff --git a/modules/user/user.module b/modules/user/user.module index aaa9fd3b65eb6641eaf2aef56d51716e514f9da5..0c17eaa45a94c088ed05bfb2ccdc68769943c5f4 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -391,7 +391,7 @@ function user_save($account, $edit = array(), $category = 'account') { // Form fields that don't pertain to the users, user_roles, or // Field API are automatically serialized into the users.data // column. - if (!in_array($key, array('roles', 'is_new')) && empty($user_fields[$key]) && empty($field_names[$key])) { + if (!in_array($key, array('roles', 'is_new', 'current_pass_required_values', 'current_pass')) && empty($user_fields[$key]) && empty($field_names[$key])) { if ($value === NULL) { unset($data[$key]); }