Viewing 1 replies (of 1 total)
  • Plugin Support XootiX

    (@helloxootix)

    Hello,

    This option is for “Single field form” under “Form pattern” setting.
    If you are using separate forms, use this snippet to disable Login with username

    add_filter( 'xoo_el_process_login_errors', function( $error, $creds ){
    if( isset( $creds['user_login'] ) && !is_email( $creds['user_login'] ) ){
    $error->add( 'not-allowed', 'Please enter valid email address.' );
    }
    return $error;
    }, 10, 2 );
Viewing 1 replies (of 1 total)

The topic ‘Email login’ is closed to new replies.