feat: implement DASHBOARD_ORIGIN for invite and email links, enhancing self-hosted configuration and updating related documentation

This commit is contained in:
Rotimi Best
2026-03-11 17:00:44 +01:00
parent c5c65b96d7
commit fd11bdd4b0
14 changed files with 41 additions and 33 deletions
@@ -10,8 +10,6 @@ import { isUserOrgTeamMember } from '@cio/db/queries/organization';
*/
export const orgTeamMemberMiddleware = async (c: Context, next: Next) => {
try {
console.log('orgTeamMemberMiddleware user', c.get('user'));
const user = c.get('user');
if (!user) {
return c.json(