We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d6a0ff commit 75ada08Copy full SHA for 75ada08
src/server/auth/auth.go
@@ -26,7 +26,7 @@ func Authenticate(rw http.ResponseWriter, username, password, basepath string) {
26
http.SetCookie(rw, &http.Cookie{
27
Name: "auth",
28
Value: username + ":" + secret(username, password),
29
- Expires: time.Now().Add(time.Hour * 24 * 7), // 1 week,
+ Expires: time.Now().Add(time.Hour * 24 * 7 * 12), // 12 weeks,
30
Path: basepath,
31
})
32
}
0 commit comments