I posted an issue resolution report a few days ago to the topic below:
https://www.joomlart.com/forums/d/40578
When accessing the profile page, the contents of Google Authentication are displayed even though Disable Two Factor Authentication is selected in the pull-down Authentication Method.
At this point the source is:
<div id="com_users_twofactor_totp">
If I set the pull-down to Google Authentication once and set it back to Disable Two Factor Authentication, the contents of Google Authentication will not be displayed.
At this point the source is:
<div id="com_users_twofactor_totp" class="hidden">
Then change the pulldown back to Google Authentication again. Then, of course, the contents of Google Authentication are displayed.
At this point the source is:
<div id="com_users_twofactor_totp" class>
The first <div id="com_users_twofactor_totp">
should be <div id="com_users_twofactor_totp" class="hidden">
.
Could you please provide a modified version of edit.php?