Issue with 2FA Module: Content Overwritten Despite Proper Function Call #12522
Unanswered
Scorpio256
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I'm facing an issue with the return function in my Opencart module development. I'm currently working on implementing a 2FA (Two-Factor Authentication) module and replicating a significant portion of the functionality that exists in the backend.
The problem arises when I perform a token check and use the following code:
While the content of the specified function loads correctly, there's an unexpected behavior. Despite the presence of the following code within the function:
The normal web page is still displayed, and the content I sent to the output is overwritten.
I've been trying to troubleshoot this for a while, but I can't seem to find the root cause of the issue. Could someone please help me understand why the desired content is not being displayed properly and how to resolve this problem?
Thank you for your assistance!
Opencart 4.0.2.2
Beta Was this translation helpful? Give feedback.
All reactions