first commit

This commit is contained in:
2025-06-17 11:53:18 +02:00
commit 9f0f7ba12b
8804 changed files with 1369176 additions and 0 deletions

View File

@ -0,0 +1 @@
<svg height="45" viewBox="0 0 113 45.000001" width="113" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(.24829121 0 0 .23800411 -129.11143 -113.50479)"><path d="m523.02832 505.39047h443.94339v123.94337h-443.94339z" fill="none" stroke="#000" stroke-width="6.056613"/><text font-family="sans-serif" font-size="93.592659" letter-spacing="0" word-spacing="0" x="540.51196" y="600.6712"><tspan x="540.51196" y="600.6712">123 456</tspan></text></g></svg>

After

Width:  |  Height:  |  Size: 457 B

View File

@ -0,0 +1,22 @@
{
"$schema": "https://developer.joomla.org/schemas/json-schema/web_assets.json",
"name": "plg_multifactorauth_totp",
"version": "4.0.0",
"description": "Time-Based One Time Password",
"license": "GPL-2.0-or-later",
"assets": [
{
"name": "plg_multifactorauth_totp.setup",
"type": "script",
"uri": "plg_multifactorauth_totp/setup.min.js",
"dependencies": [
"qrcode",
"core"
],
"attributes": {
"type": "module"
},
"version": "92ad1a"
}
]
}

View File

@ -0,0 +1,23 @@
/**
* @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
*/
((Joomla, document, qrcode) => {
document.addEventListener('DOMContentLoaded', () => {
const elTarget = document.getElementById('users-mfa-totp-qrcode');
const qrData = Joomla.getOptions('plg_multifactorauth_totp.totp.qr');
if (!elTarget || !qrData) {
return;
}
const qr = qrcode(0, 'H');
qr.addData(qrData);
qr.make();
elTarget.innerHTML = qr.createImgTag(4);
});
// eslint-disable-next-line no-undef
})(Joomla, document, qrcode);

View File

@ -0,0 +1 @@
((t,e,o)=>{e.addEventListener("DOMContentLoaded",(()=>{const a=e.getElementById("users-mfa-totp-qrcode"),n=t.getOptions("plg_multifactorauth_totp.totp.qr");if(!a||!n)return;const d=o(0,"H");d.addData(n),d.make(),a.innerHTML=d.createImgTag(4)}))})(Joomla,document,qrcode);

Binary file not shown.