Explorar o código

cleanup interface

Daniel Bohry hai 3 semanas
pai
achega
06d1b53043

+ 0 - 1
src/main/resources/static/index.html

@@ -90,7 +90,6 @@
                 <p><strong>Email:</strong> <span id="currentEmail"></span></p>
                 <p><strong>User ID:</strong> <span id="currentUserId"></span></p>
                 <p><strong>Roles:</strong> <span id="currentRoles"></span></p>
-                <p><strong>Token Expires:</strong> <span id="tokenExpiration"></span></p>
             </div>
 
             <div class="action-buttons">

+ 0 - 3
src/main/resources/static/js/main.js

@@ -372,9 +372,6 @@ function updateUserDisplay() {
     document.getElementById('currentEmail').textContent = currentUser.email || '-';
     document.getElementById('currentUserId').textContent = maskUserId(currentUser.id);
     document.getElementById('currentRoles').textContent = currentUser.roles.join(', ');
-
-    const expirationDate = new Date(currentUser.expirationDate);
-    document.getElementById('tokenExpiration').textContent = expirationDate.toLocaleString();
 }
 
 function showUserSection() {