[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 (function () { 2 'use strict'; 3 4 /** 5 * @package Joomla.Plugin 6 * @subpackage Multifactorauth.webauthn 7 * 8 * @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org> 9 * @license GNU General Public License version 2 or later; see LICENSE.txt 10 */ 11 (function (Joomla, document, qrcode) { 12 document.addEventListener('DOMContentLoaded', function () { 13 var elTarget = document.getElementById('users-mfa-totp-qrcode'); 14 var qrData = Joomla.getOptions('plg_multifactorauth_totp.totp.qr'); 15 16 if (!elTarget || !qrData) { 17 return; 18 } 19 20 var qr = qrcode(0, 'H'); 21 qr.addData(qrData); 22 qr.make(); 23 elTarget.innerHTML = qr.createImgTag(4); 24 }); // eslint-disable-next-line no-undef 25 })(Joomla, document, qrcode); 26 27 })();
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |