I Use this :
UPDATE wp_users
JOIN wp_usermeta ON wp_users.ID = wp_usermeta.user_id
SET wp_users.user_login = wp_usermeta.meta_value
WHERE wp_usermeta.meta_key = '_mat';
via: https://stackoverflow.com/questions/76060491/how-to-change-the-user-login-by-the-usermeta-field-of-the-same-user/
I use a dropdown list with manually entering data.
How do I not show the Registration Form when the user is not logged in to the site?
I would just like to show the message and the login form.
[ ]’s Robison