Skip to content

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

Fix comments lang

Smaug6739f74eb9259209
diff --git a/backend/controllers/authentication.controller.go b/backend/controllers/authentication.controller.go
index e33ce6d7..cc2ab5e9 100644
--- a/backend/controllers/authentication.controller.go
+++ b/backend/controllers/authentication.controller.go
@@ -218,9 +218,9 @@ func shouldUseSecureCookies() bool {
func getCookieDomain() string {
domain := os.Getenv("COOKIE_DOMAIN")
if domain == "" {
- return "" // par défaut le cookie sera lié au host courant
+ return ""
}
- // Ajouter un point devant pour inclure les sous-domaines
+ // Include leading dot for subdomains
if domain[0] != '.' {
domain = "." + domain
}