Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Commit d908299

Browse files
committed
Fix sign in and sign up switch link
1 parent d0de0c4 commit d908299

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

web/login.html

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -533,21 +533,15 @@ <h3>User Management</h3>
533533

534534
function toggleSignUpMode() {
535535
isSignUpMode = !isSignUpMode;
536-
const authTitle = document.getElementById('authTitle');
537536
const authSubmitBtn = document.getElementById('authSubmitBtn');
538537
const toggleModeBtn = document.getElementById('toggleModeBtn');
539-
const authDescription = document.querySelector('#authPanel article header p');
540538

541539
if (isSignUpMode) {
542-
authTitle.textContent = 'Create your account';
543540
authSubmitBtn.textContent = 'Create account with passkey';
544541
toggleModeBtn.textContent = 'Already have an account? Sign in';
545-
authDescription.textContent = 'Create a new account with secure passkey authentication';
546542
} else {
547-
authTitle.textContent = 'Sign in to your account';
548543
authSubmitBtn.textContent = 'Sign in with passkey';
549544
toggleModeBtn.textContent = "Don't have an account? Create one";
550-
authDescription.textContent = 'Use your passkey for secure authentication';
551545
}
552546
}
553547

0 commit comments

Comments
 (0)