CLASSROOMIO-T-42: Limit subdomain names available to organizations
Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Merge-request: CLASSROOMIO-MR-9 Merged-by: Digdippa Team <digdippa@gmail.com>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
1388a41097
commit
0aa35e3dde
@@ -33,9 +33,11 @@ express() // You can also use Express
|
||||
session: async (req) => {
|
||||
const { user } = await supabase.auth.api.getUserByCookie(req);
|
||||
console.log('cookie calling');
|
||||
// console.log('req', req.headers.host);
|
||||
return {
|
||||
user: JSON.stringify(user),
|
||||
config,
|
||||
host: req.headers.host,
|
||||
};
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user