summaryrefslogtreecommitdiffstats
path: root/api4/user.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/user.go')
-rw-r--r--api4/user.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/user.go b/api4/user.go
index cfb2a5b3f..165e5aa9a 100644
--- a/api4/user.go
+++ b/api4/user.go
@@ -1076,6 +1076,7 @@ func attachDeviceId(c *Context, w http.ResponseWriter, r *http.Request) {
MaxAge: maxAge,
Expires: expiresAt,
HttpOnly: true,
+ Domain: c.App.GetCookieDomain(),
Secure: secure,
}