2025-06-30 15:58:30 +02:00
|
|
|
function login() {
|
|
|
|
|
const usernameInput = document.getElementById('username');
|
|
|
|
|
const passwordInput = document.getElementById('password');
|
|
|
|
|
|
2025-08-27 14:00:38 +02:00
|
|
|
const credentials = `${usernameInput.value}:${passwordInput.value}`;
|
|
|
|
|
document.cookie = `credentials=${credentials}; path=/`;
|
2025-06-30 15:58:30 +02:00
|
|
|
}
|