1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Remove dud log line

This commit is contained in:
Daniel Heath 2018-05-27 21:49:43 +10:00
parent 82d5ac908d
commit 0e93250cc9

View File

@ -144,7 +144,6 @@ func (s Site) Router() *gin.Engine {
if page != "" && cmd == "/read" {
p := s.Open(page)
fmt.Printf("p: '%+v'\n", p)
if p != nil && p.IsPublished {
return false // Published pages don't require auth.
}