mirror of
https://github.com/Noooste/garage-ui.git
synced 2026-08-20 01:32:16 +00:00
feat: enhance authentication with JWT support and clean up unused code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user