I just recently upgraded our Magento store to version 2.4.2 and 2 factor authentication is enabled by default in the admin. That is fine and it is working, however whenever I sign in to the admin and go to enter my Google authenticator code, there is no option to "Trust this device" or "Remember me" or anything like that. This is what my site shows:
This means that every time I log out or close the browser window it forced me to log back in and provide another code. This is very frustrating when coming back and forth to the site. In looking up the official documentation for this, it states and even shows a screenshot with a checkbox under the authenticator code field saying "Trust this device, do not ask again":
I cannot find any information or documentation on why this is not appearing for me. I have tried looking through the codebase and it does not look like it is coming from there. In the admin setup for Google Authenticator (under Security > 2 FA) the only option is the OTP window. I don't see anywhere to enable or add this but it is not showing and working up.
Can anyone please help?
According to official magento devdocs
it has the trust Trust this device, do not ask again checkbox feature and it should work.
I have researched more and found there is one bug already reported on github
If that helps.
This is not my issue, as that issue states you check the box and then it doesn't work reliably. Mine doesn't even show the box. I have done nothing to customize it and cannot find any other options to do so or any settings, nor can I find any markup like that in the core code.