Remove logging of session token
This commit is contained in:
parent
17dd20478d
commit
3c792decd6
1 changed files with 0 additions and 3 deletions
|
|
@ -44,9 +44,6 @@ func main() {
|
||||||
sessionID := rand.Text()
|
sessionID := rand.Text()
|
||||||
cache[sessionID] = user
|
cache[sessionID] = user
|
||||||
|
|
||||||
// TODO: omg remove this
|
|
||||||
log.Printf("Session id is %s", sessionID)
|
|
||||||
|
|
||||||
cookie := http.Cookie{
|
cookie := http.Cookie{
|
||||||
Name: "id", Value: sessionID, MaxAge: 3600,
|
Name: "id", Value: sessionID, MaxAge: 3600,
|
||||||
Secure: true, HttpOnly: true, Path: "/",
|
Secure: true, HttpOnly: true, Path: "/",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue