Page 1 of 1

Need someone to write small code please

Posted: Sun Jul 14, 2019 1:19 pm
by locksdownunder
I have a website OC 2.3.0.2 currently using the plugin "Opencart Members Only" https://www.opencart.com/index.php?rout ... load_id=47

This enables me to force all customers to login and keeps my store private.

I have now installed "Two Factor Authentication for customers + admin" https://www.opencart.com/index.php?rout ... load_id=47

I now want to force customers when they log in to enable TFA or they can not go further.

At the moment if a customer has TFA enabled after login they are directed to the page to enter the TFA code, so I guess an "if tfa_enabled=0 then" direct to TFA enable plage is all that's required perhaps in the header.tpl but I'm not sure how to do this.

All help appreciated

Thank you

Re: Need someone to write small code please

Posted: Sun Jul 14, 2019 6:17 pm
by straightlight
Contact the extension developer to resolved this issue,

Re: Need someone to write small code please

Posted: Mon Jul 15, 2019 4:35 pm
by locksdownunder
Have tried contact creator with no response as yet

Re: Need someone to write small code please

Posted: Mon Jul 15, 2019 5:21 pm
by cedcommerceteam
locksdownunder wrote:
Sun Jul 14, 2019 1:19 pm
I have a website OC 2.3.0.2 currently using the plugin "Opencart Members Only" https://www.opencart.com/index.php?rout ... load_id=47

This enables me to force all customers to login and keeps my store private.

I have now installed "Two Factor Authentication for customers + admin" https://www.opencart.com/index.php?rout ... load_id=47

I now want to force customers when they log in to enable TFA or they can not go further.

At the moment if a customer has TFA enabled after login they are directed to the page to enter the TFA code, so I guess an "if tfa_enabled=0 then" direct to TFA enable plage is all that's required perhaps in the header.tpl but I'm not sure how to do this.

All help appreciated

Thank you
Hello locksdownunder,
Yes we can help you out!
Please contact us for more @ skype id :carlmorgan.cedcommerce
Thanks & Regards

Re: Need someone to write small code please

Posted: Mon Jul 15, 2019 6:08 pm
by straightlight
locksdownunder wrote:
Mon Jul 15, 2019 4:35 pm
Have tried contact creator with no response as yet
Contact the site support team from the Marketplace page if you downloaded the extension from that location. Otherwise, you can always create a new service request in the Commercial Support section of the forum or send me a PM to get this done as a custom job.

Re: Need someone to write small code please

Posted: Sun Jul 21, 2019 5:21 am
by locksdownunder
All good I found a solution

Thank you

Re: Need someone to write small code please

Posted: Sun Jul 21, 2019 6:55 pm
by straightlight
What does that describe?

Re: Need someone to write small code please

Posted: Sun Jul 21, 2019 7:23 pm
by locksdownunder
What does that describe?
Sorry I don't understand what you mean.
I have managed to solve the problem myself so thank you for your offer of assistance