Skip to content

Commit

Permalink
pass
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanna committed Nov 17, 2024
1 parent 6df84b3 commit 4e64e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ <h4 class="footer__nav-block-title">Контакти</h4>

document.getElementById('loginButton').addEventListener('click', function () {
const password = document.getElementById('password').value;
if (password === 'west-decor') { // Змініть на ваш пароль
if (password === 'westdecor') { // Змініть на ваш пароль
localStorage.setItem('isAdminLoggedIn', 'true'); // Зберегти стан входу
document.getElementById('authSection').style.display = 'none';
document.getElementById('adminPanel').style.display = 'block';
Expand Down

0 comments on commit 4e64e4e

Please sign in to comment.