function gdpr_password_sanitize in General Data Protection Regulation 7
Password sanitize callback.
1 string reference to 'gdpr_password_sanitize'
- PasswordSanitizer.inc in modules/
gdpr_dump/ plugins/ sanitizer/ PasswordSanitizer.inc
File
- modules/
gdpr_dump/ plugins/ sanitizer/ PasswordSanitizer.inc, line 16
Code
function gdpr_password_sanitize($input) {
require_once DRUPAL_ROOT . '/' . variable_get('password_inc', 'includes/password.inc');
return user_hash_password(user_password(8));
}