Hello,
I can definitely try it if you have a snippet, but that’s not exactly what I’m looking to do. My main issue with the social login password bug is actually that I’m using this snippet right here to make profile pictures required:
add_filter(
'hivepress/v1/forms/user_update/errors',
function( $errors, $form ) {
$user = $form->get_model();
if ( $user && ! $user->get_image__id() ) {
$errors[] = 'Please upload a profile picture.';
}
return $errors;
},
100,
2
);
When using this snippet, it requires the user to enter their password in order to upload a picture. If you have a snippet that requires users to upload a photo but NOT have to put their password in when changing their photo, then that will solve my issue.
Thank you,
Andrew