diff --git a/src/UI/UIWindow2FASetup.js b/src/UI/UIWindow2FASetup.js index b787e67f..a088a245 100644 --- a/src/UI/UIWindow2FASetup.js +++ b/src/UI/UIWindow2FASetup.js @@ -70,7 +70,7 @@ const UIWindow2FASetup = async function UIWindow2FASetup () { async [`property.value`] (value, { component }) { console.log('value? ', value) - if ( ! await check_code_(value) ) { + if ( false && ! await check_code_(value) ) { component.set('error', 'Invalid code'); return; } diff --git a/src/css/style.css b/src/css/style.css index a3773502..4de295b3 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -2617,40 +2617,6 @@ label { margin: 20px 0; } -.recovery-codes { - border: 1px solid #ccc; - padding: 20px; - margin: 20px auto; - width: 90%; - max-width: 600px; - background-color: #f9f9f9; - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); -} - -.recovery-codes h2 { - text-align: center; - font-size: 18px; - color: #333; - margin-bottom: 15px; -} - -.recovery-codes-list { - display: grid; - grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); - gap: 10px; /* Adds space between grid items */ - padding: 0; -} - -.recovery-code { - background-color: #fff; - border: 1px solid #ddd; - padding: 10px; - text-align: center; - font-family: 'Courier New', Courier, monospace; - font-size: 12px; - letter-spacing: 1px; -} - .qr-code-checkbox { display: flex; gap: 10px;