Skip to content

Commit e14fc4b

Browse files
authored
[docs] Update number of days the login cookie is valid for (#3717)
1 parent b76ae2e commit e14fc4b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/src/understand/api-client-perspective/authentication.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,11 @@ POST /login?persist=false
206206
Set-Cookie: zuid=(redacted); Path=/access; Domain=zinfra.io; HttpOnly; Secure
207207
```
208208

209-
When you log in **with** `persist=true`, you get a persistent cookie,
210-
which means it has *some* expiration date. In production this is
211-
currently 56 days (again, configurable, check current config in
212-
[hegemony](https://github.com/zinfra/hegemony)) and can be renewed
213-
during token refresh. Example **persistent cookie**:
209+
When you log in **with** `persist=true`, you get a persistent cookie, which
210+
means it has *some* expiration date. In production this is currently 14 days
211+
(again, configurable, check current config in [production
212+
config](https://github.com/zinfra/cailleach/tree/master/targets/wire/prod/app))
213+
and can be renewed during token refresh. Example **persistent cookie**:
214214

215215
```
216216
POST /login?persist=true

0 commit comments

Comments
 (0)