Commit c31919d0 authored by ale's avatar ale
Browse files

Log successful authorizations (with ttl)

parent ca680333
......@@ -299,6 +299,8 @@ func (h *Server) handleGrantTicket(w http.ResponseWriter, req *http.Request) {
log.Printf("authorized %s for %s (ttl=%ds)", username, service, int(ttl.Seconds()))
// Record the service in the session.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment