feat(auth): oturum süresini 60 güne uzat

This commit is contained in:
2026-01-03 20:23:38 +03:00
parent 0665a7de1e
commit 90732e06ef
2 changed files with 7 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ export const verifyCredentials = async (username: string, password: string) => {
};
export const signToken = (payload: { username: string }) => {
return jwt.sign(payload, config.jwtSecret, { expiresIn: "7d" });
return jwt.sign(payload, config.jwtSecret, { expiresIn: "60d" });
};
export const verifyToken = (token: string) => {