Prevent error "User login can't be empty"
Prevent error "User login can't be empty"

When $user_login after sanitizer functions becomes empty, we try get it from $user_email, but in this moment $user_email can be empty, then $user_login becomes empty and we get error "User login can't be empty".
Can we check it by something like this and get $user_login from $hybridauth_user_profile->email?
miled/wordpress-social-login,miled/wordpress-social-login,miled/wordpress-social-login,NickIvanter/wordpress-social-login,NickIvanter/wordpress-social-login,NickIvanter/wordpress-social-login,NickIvanter/wordpress-social-login,miled/wordpress-social-login