This commit is contained in:
2025-07-08 19:03:34 +08:00
parent caa855717f
commit 789ba73f81
4 changed files with 5 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ export const adminController = {
username: admin.username,
role: admin.isAdmin ? 'admin' : 'user'
},
process.env.JWT_SECRET!,
"pandora",
{ expiresIn: '24h' }
);