Coder Social home page Coder Social logo

Comments (10)

crftwrk avatar crftwrk commented on May 25, 2024 1

Hi cemmos,

it works now, pls check: https://wp.dev.obstance.com/my-account

But it works not in offcanvas. So, you must use static page if you want to use the plugin. I removed the offcanvas in header.php in child and hard coded the link to the account page there. If you click the user button, you will be directed to the account page.

If that's fine I will close this issue now?

from bootscore.

crftwrk avatar crftwrk commented on May 25, 2024 1

Hi cemmos,

can you please send me the parent theme as zip back to store at bootscore.me? Unfortunately I deleted the wrong file ;-)

Thank you

from bootscore.

crftwrk avatar crftwrk commented on May 25, 2024

Hello Cemmos,

thank you for reporting, I will check that.

  1. Do you use the offcanvas login or a page for login?

  2. Have a link to your site to check and understand that issue?

Basti

from bootscore.

cemmos avatar cemmos commented on May 25, 2024

Hey, Basti. I tried both the offcanvas and the regular page, the issue appears on both. I just now set up a test site here after seeing your reply: wp.dev.obstance.com

2FA can be turned on directly from the My Account page. You can either register a new user or use this test user that I set up and then turn on 2FA, then log out and try logging back in:

Username: testuser
Password: m1%b4Hq5ce5t

from bootscore.

crftwrk avatar crftwrk commented on May 25, 2024

Hey Cemmos,

I see… It seems there is a missing hook in form-login.php. Can you please rename or delete this file in theme that I can check that?

Thank you

Basti

from bootscore.

cemmos avatar cemmos commented on May 25, 2024

Thanks, Basti. I've now removed the file.

from bootscore.

crftwrk avatar crftwrk commented on May 25, 2024

Hello cemmos,

The Two Factor Authentication plugin needs premium subscription to implement it in WooCommerce, so I cannot check it here on my site.

But I created a new form-login.php https://github.com/craftwerkberlin/woocommerce-form-login/blob/main/form-login.php

Please replace existing one with this and give a feedback if it works.

Best regards Basti

from bootscore.

cemmos avatar cemmos commented on May 25, 2024

Added the new file, seems to have the same issue as before.

The free version of the plugin works for WooCommerce (I'm using the free version on a production site with the Storefront theme). You can install it and enable 2FA through /wp-admin and it'll still work to inject itself into WooCommerce login forms. It just needs its shortcode inserted into the My Account dashboard if you want to have access to the settings outside of /wp-admin, but no modifications necessary to use it with WooCommerce.

from bootscore.

crftwrk avatar crftwrk commented on May 25, 2024

It's very hard to check it blind. Can you create me please an admin account and send login to store (at) bootscore.me? I will grab a backup and will check it on my server.

Thank you

from bootscore.

cemmos avatar cemmos commented on May 25, 2024

Indeed it does work! Thanks for your time with this issue, Basti. Much appreciated.

from bootscore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.