• Resolved strohy85

    (@strohy85)


    Hi,

    I am importing a large database of existing users into a new site without passwords so i am looking for a way to check when they first try to login with an newly imported email.Then show a small error message that they need to reset their password.

    Is there a hook that i can use for before the submit is validated or on submit press and search the user database? I have created all their accounts with a created date as the same so i would be able to check if the email has that date created then show a warning message

    Do you think this is possible?

    Thanks

Viewing 1 replies (of 1 total)
  • I think the action you are looking for is do_action( 'um_submit_form_errors_hook_login', $args ); or do_action( 'um_submit_form_errors_hook_logincheck', $args );

    Found in ultimate-member/includes/core/um-actions-form.php

Viewing 1 replies (of 1 total)
  • The topic ‘Login form hook to check imported email address already has an account’ is closed to new replies.