fix: correct login button selector in auth.js
Some checks failed
CI / Lint (push) Has been cancelled
CI / Test (push) Has been cancelled
CI / Build (push) Has been cancelled

Changed querySelector('.login-btn') to getElementById('login-btn') to match index.html.
This commit is contained in:
2026-03-19 13:43:02 -04:00
parent 742cd9e921
commit 4120a83b67

View File

@@ -58,7 +58,7 @@ class AuthManager {
async login(username, password) {
const errorElement = document.getElementById('login-error');
const loginBtn = document.querySelector('.login-btn');
const loginBtn = document.getElementById('login-btn');
try {
loginBtn.innerHTML = '<i class="fas fa-spinner fa-spin"></i> Authenticating...';