Support » Plugin: Passwordless Login » Your token has probably expired. Please try again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hey there,

    Do you want to have your token last longer before it expires? Increase the duration?

    Best regards,
    Gabriel

    traktor

    (@_traktor_)

    Not.
    A check found that the problem is in the file functions.php

    in line
    add_filter( ‘wp_mail’, ‘my_wp_mail_filter’ );

    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hey there,

    So you have found a problem in your theme’s functions.php?

    Please explain in more detail.

    Also, I see that you have started another thread here. Is it about the same issue or are there 2 separate issues?

    I am struggling to understand what you are saying. Perhaps it will be easier for me if you use longer sentences, or maybe an automatic translation service like the one from Google?

    With the best of wishes,
    Gabriel

    traktor

    (@_traktor_)

    To find the problem, you must enter this code in functions.php

    add_filter( ‘wp_mail’, ‘my_wp_mail_filter’ );
    function my_wp_mail_filter( $args ) {
    $args[‘message’] .= “\r\n”;
    $args[‘message’] .= “— Hello”;
    return $args;
    }

    • This reply was modified 2 years ago by traktor.
    Plugin Author Gabriel Berzescu

    (@gabrielberzescu)

    Hello,

    If you add that code to your theme’s functions.php, it will rewrite content of all emails that are being sent from your website, which is not good, but in the end it’s your website, so you probably know better what the desired effect is.

    Regarding our plugin, I have just tested it on a clean environment and it is working properly.

    If you experience problems with our plugin, please let us know.

    About your theme, I don’t know.

    With the best of wishes,
    Gabriel

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Your token has probably expired. Please try again.’ is closed to new replies.