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> </div>
<script> <script>
// Check if user is authenticated // Get token and check authentication
(function() { const token = localStorage.getItem('token');
const token = localStorage.getItem('token'); if (!token) {
if (!token) { window.location.href = '/login.html';
window.location.href = '/login.html'; }
return;
}
})();
// Show notification to user // Show notification to user
function showNotification(message, type = 'info') { function showNotification(message, type = 'info') {