remove println
This commit is contained in:
@@ -2,7 +2,6 @@ package helpers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"html/template"
|
"html/template"
|
||||||
"log"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"synlotto-website/models"
|
"synlotto-website/models"
|
||||||
)
|
)
|
||||||
@@ -48,8 +47,6 @@ func TemplateContext(w http.ResponseWriter, r *http.Request) map[string]interfac
|
|||||||
currentUser = nil
|
currentUser = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("🧪 TemplateContext user: %#v", currentUser)
|
|
||||||
|
|
||||||
return map[string]interface{}{
|
return map[string]interface{}{
|
||||||
"Flash": flash,
|
"Flash": flash,
|
||||||
"User": currentUser,
|
"User": currentUser,
|
||||||
|
|||||||
Reference in New Issue
Block a user