docs: clarify AUTH_COOKIE_DOMAIN usage for cross-subdomain authentication and update related documentation

This commit is contained in:
Rotimi Best
2026-03-11 15:52:04 +01:00
parent 1bf0581869
commit c5c65b96d7
6 changed files with 11 additions and 26 deletions
@@ -19,7 +19,8 @@ export const getSessionData = async (cookies: Cookies): Promise<App.Locals | nul
console.log('locals', locals);
if (!locals) return null;
locals.fromSessions = !!cookies.get('classroomio.session_data');
// This will always be true because if we don't have classroomio cookies, we won't be able to this line of code.
locals.fromSessions = true;
return locals;
} catch (error) {