diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2019-04-12 14:42:17 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2019-04-12 14:42:17 +0200 |
| commit | 57a8554e1a533b01273c9cdd65fdc6e820a2f6b0 (patch) | |
| tree | 8bb746a705ae3a04c2226f2c6c0cd2b40af088af /executor | |
| parent | 8916f5e15133e4de1640fcf6c06f375e35837b3a (diff) | |
dashboard/app: fix cookie caching and redirects
Set expiration date for the cookie,
otherwise it should be dropped on browser restart.
Use http.StatusFound(302) instead of http.StatusMovedPermanently(301)
for redirects. Browsers can cache 301 redirects, which we don't want.
Diffstat (limited to 'executor')
0 files changed, 0 insertions, 0 deletions
