add info about session param in login

This commit is contained in:
Umputun
2018-06-02 13:48:37 -05:00
parent 7ae4a09f6b
commit 12b9ab4c98
+1 -1
View File
@@ -262,7 +262,7 @@ Also script can uses `url` property from `remark_config` object, or `window.loca
### Authorization
* `GET /auth/{provider}/login?from=http://url` - perform "social" login with one of supported providers and redirect to `url`
* `GET /auth/{provider}/login?from=http://url&session=1` - perform "social" login with one of supported providers and redirect to `url`. Presence of `session` (any non-zero value) change the default cookie expiration and makes them session-only.
* `GET /auth/logout` - logout
```go