Add files via upload

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