mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
Remove debug logs.
This commit is contained in:
parent
e572eb3b10
commit
c2b705f172
@ -6,7 +6,6 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/patrickmn/go-cache"
|
"github.com/patrickmn/go-cache"
|
||||||
|
|
||||||
@ -54,7 +53,6 @@ func (m *AuthenticateMiddleware) Handle(w http.ResponseWriter, r *http.Request,
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fmt.Println("Cache Hit")
|
|
||||||
user = cachedUser.(*models.User)
|
user = cachedUser.(*models.User)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user