This commit is contained in:
David Nguyen
2025-01-31 23:17:50 +11:00
parent aec44b78d0
commit e20cb7e179
79 changed files with 3613 additions and 300 deletions

View File

@ -9,7 +9,7 @@ import { authDebugger } from '../utils/debugger';
* @param c - The Hono context.
*/
export const getSessionCookie = async (c: Context) => {
const sessionId = await getSignedCookie(c, 'secret', 'sessionId');
const sessionId = await getSignedCookie(c, 'secret', 'sessionId'); // Todo: Use secret
return sessionId;
};