8 lines
506 B
JavaScript
8 lines
506 B
JavaScript
/**
|
|
* @package Joomla.Plugin
|
|
* @subpackage Multifactorauth.webauthn
|
|
*
|
|
* @copyright (C) 2022 Open Source Matters, Inc. <https://www.joomla.org>
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
*/((r,e,n)=>{e.addEventListener("DOMContentLoaded",()=>{const a=e.getElementById("users-mfa-totp-qrcode"),o=r.getOptions("plg_multifactorauth_totp.totp.qr");if(!a||!o)return;const t=n(0,"H");t.addData(o),t.make(),a.innerHTML=t.createImgTag(4)})})(Joomla,document,qrcode);
|