Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -268,7 +268,7 @@ func requiresAuth(w http.ResponseWriter, r *http.Request) bool {
|
| 268 | 268 |
value := fmt.Sprintf("FAKE-SESSION-%d", time.Now().UnixNano())
|
| 269 | 269 |
cookie := &http.Cookie{Name: "session", Value: value, MaxAge: 3600}
|
| 270 | 270 |
http.SetCookie(w, cookie) |
| 271 |
- //FIXME(sam): this should be sent only on Index routes |
|
| 271 |
+ // FIXME(sam): this should be sent only on Index routes |
|
| 272 | 272 |
value = fmt.Sprintf("FAKE-TOKEN-%d", time.Now().UnixNano())
|
| 273 | 273 |
w.Header().Add("X-Docker-Token", value)
|
| 274 | 274 |
} |