CLASSROOMIO-T-42: Limit subdomain names available to organizations

Co-authored-by: Rotimi Best <[email protected]>

Merge-request: CLASSROOMIO-MR-9
Merged-by: Digdippa Team <[email protected]>
This commit is contained in:
Rotimi Best
2023-05-11 15:15:18 +00:00
committed by Space Cloud
co-authored by Rotimi Best
parent 1388a41097
commit 0aa35e3dde
24 changed files with 121 additions and 43 deletions
+2
View File
@@ -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,
};
},
})