import "server-only";

export const SESSION_COOKIE_NAME = "assessment_session";
export const SESSION_TTL_SECONDS = 60 * 60 * 24 * 7;
export const EMAIL_VERIFICATION_TTL_MS = 1000 * 60 * 60 * 24;

export function getSessionSecret() {
  return process.env.SESSION_SECRET ?? "dev-only-change-me";
}
