Solution:
You could use theme-my-login template in order to add code :
- Copy wp-content/plugins/theme-my-login/templates/login-form.php in your wordpress theme folder root (the plugin will check your theme path before the plugin path).
- Add your code to get your current_user meta data ( check get_user_meta(); )
- Check if user has already this value with WP_user_Query :$user_query = new WP_User_Query( array( ‘meta_key’ => ‘country’, ‘meta_value’ => ‘France’ ) );
Hope it will help you !