debug(07-01): add detailed field value logging to registration
This commit is contained in:
@@ -300,6 +300,8 @@ class DDHH_JM_Formidable {
|
||||
continue;
|
||||
}
|
||||
|
||||
error_log('DDHH Registration: Found field ' . $field->field_key . ' with value: ' . json_encode($value));
|
||||
|
||||
switch ( $field->field_key ) {
|
||||
case 'email':
|
||||
$email = sanitize_email( $value );
|
||||
@@ -328,8 +330,9 @@ class DDHH_JM_Formidable {
|
||||
}
|
||||
|
||||
// Validate passwords match
|
||||
error_log('DDHH Registration: Comparing passwords - pwd=' . json_encode($password) . ', confirm=' . json_encode($password_confirm));
|
||||
if ( $password !== $password_confirm ) {
|
||||
error_log('DDHH Registration: Passwords do not match');
|
||||
error_log('DDHH Registration: Passwords do not match (strict comparison)');
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user