• Resolved onemoregaelle

    (@onemoregaelle)


    Hello,

    When I activate the 2FA option :

    1) I get this message :

    The 'wordpress_test_cookie' cookie does not have a proper 'SameSite' attribute value. Soon, cookies with the "SameSite" attribute missing or set to an invalid value will be treated as "Lax". This means that the cookie will no longer be sent in third-party contexts. If your application depends on the availability of this cookie in such contexts, please add the attribute "SameSite=None" to it. To learn more about the "SameSite" attribute, see https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

    2) And the Brute force login limit doesn’t work anymore.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Prashant Baldha

    (@pmbaldha)

    Are you able to log in from a new browser or incognito browser?

    Thread Starter onemoregaelle

    (@onemoregaelle)

    I can now ! It is working. What was the issue please ?

    Thread Starter onemoregaelle

    (@onemoregaelle)

    FOUND IT ! The cookie error happens when maintenance mode is on ! How can we correct this please ?

    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    I have enabled maintenance mode and cookie-based brute force prevention, but I can’t face any issue at the login time. I can’t replicate the issue.

    Thank you.

    Thread Starter onemoregaelle

    (@onemoregaelle)

    Hi, thanks for your answer, but it’s not a cookie-based brute force prevention problem, it is a 2FA problem : a two factor authentication problem.

    When maintenance mode is on, the 2FA settings create a cookie problem in the browser.

    Thank you

    Plugin Contributor Prashant Baldha

    (@pmbaldha)

    We have resolved the issue in our development version of the plugin. We will release AIOS 5.1.0 version in the next couple of days and you will get a resolution of your issue.

    In between, You can add below code line in your wp-config.php file to disable 2FA on your site.

    
    define('TWO_FACTOR_DISABLE', true);
    

    Thank you for reporting the issue.

    Thread Starter onemoregaelle

    (@onemoregaelle)

    Thank you for your answer. I really need the 2FA so I will keep it activated and turn off maintenance mode.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘2FA problem’ is closed to new replies.