From aa4c168e81a50124da9087e960c69897e198ca08 Mon Sep 17 00:00:00 2001 From: Patrick Peng Sun Date: Tue, 30 May 2017 13:49:11 +1000 Subject: [PATCH] add todo --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index d06452d..dca92d2 100644 --- a/main.go +++ b/main.go @@ -119,6 +119,8 @@ func mpDomainAuthSecret(w http.ResponseWriter, r *http.Request) { //redirect user to a URL "/pages/dashboard" // func initialRegistrationHandler(w http.ResponseWriter, r *http.Request) { + //TODO: verify url parameters and make sure its username is correctly set + // expiration := time.Now().Add(10 * 365 * 24 * time.Hour) str := time.Now().String() cookie := http.Cookie{Name: "username", Value: str, Expires: expiration}