mirror of https://github.com/encode/starlette.git
Add SessionMiddleware's max_age to docs
This commit is contained in:
parent
a7e0af0a98
commit
8f736f20ac
|
@ -81,6 +81,7 @@ The following arguments are supported:
|
|||
|
||||
* `secret_key` - Should be a random string.
|
||||
* `session_cookie` - Defaults to "session".
|
||||
* `max_age` - Session expiry time in seconds. Defaults to 2 weeks.
|
||||
|
||||
## HTTPSRedirectMiddleware
|
||||
|
||||
|
|
Loading…
Reference in New Issue