feat: enhance authentication with JWT support and clean up unused code

This commit is contained in:
Noooste
2025-12-08 22:37:14 +01:00
parent f4eaca62e8
commit d8694bc272
15 changed files with 145 additions and 156 deletions
-2
View File
@@ -199,10 +199,8 @@ export function AccessControl() {
try {
const updates: { status?: string; expiration?: string } = {};
// Add status change
updates.status = keyStatus;
// Add expiration if set and not "never expires"
if (!neverExpires && expirationDate) {
updates.expiration = new Date(expirationDate).toISOString();
} else if (neverExpires) {