[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Make 2FA work with option nobox=='y'

"Jean-Marc Libs \(@jyhem\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69cab3dbbd25c_3b18f09c810b2@gitlab-sidekiq-low-urgency-cpu-bound-v2-8577bbf8bd-pnrb7.mail>

Jean-Marc Libs pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
1863a93c by Jyhem at 2026-03-30T19:33:07+02:00
[FIX] Make 2FA work with option nobox=='y'

- - - - -


1 changed file:

- templates/modules/mod-login_box.tpl


Changes:

=====================================
templates/modules/mod-login_box.tpl
=====================================
@@ -27,7 +27,7 @@ $(document).ready(function () {
     function show2FactorInputElement(btn, event) {
         const btnStep = parseInt(btn.attr('step')) + 1;
         btn.attr('step', btnStep);
-        $(event.currentTarget).find('fieldset').children().not('#two_factor_div').hide();
+        $(event.currentTarget).find('#two_factor_div').siblings().not('#two_factor_div').hide();
         $(event.currentTarget).find('#two_factor_div').show();
         $(event.currentTarget).find('div#webauthn_div').hide();
         $(btn).parent().show();



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1863a93c5c81418c04fb7337c46e61dca07c7bba

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1863a93c5c81418c04fb7337c46e61dca07c7bba
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.