Skip to content

Commit

Permalink
fix: auth cookie domain
Browse files Browse the repository at this point in the history
  • Loading branch information
CaduGomes committed Sep 7, 2024
1 parent a4cc936 commit c031fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/routes/rest/auth/authApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getDomain(host: string | undefined) {
return '';
} else {
const server = host.split('.').slice(1).join('.');
return `domain=${server}`;
return `domain=.${server}`;
}
}

Expand Down

0 comments on commit c031fe5

Please sign in to comment.