mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Temporarily disable real check for testing
This commit is contained in:
parent
3e380ba844
commit
e9b8c452b9
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user