Add files via upload

This commit is contained in:
Tomáš Dvořák
2025-05-26 13:43:41 +02:00
committed by GitHub
parent 50f7346d57
commit 913614aac4
+7 -5
View File
@@ -464,11 +464,13 @@
<script>
// Check if user is authenticated
const token = localStorage.getItem('token');
if (!token) {
window.location.href = '/login.html';
return;
}
(function() {
const token = localStorage.getItem('token');
if (!token) {
window.location.href = '/login.html';
return;
}
})();
// Show notification to user
function showNotification(message, type = 'info') {