Commit c31919d0 authored by ale's avatar ale

Log successful authorizations (with ttl)

parent ca680333
Pipeline #5418 canceled with stages
in 2 minutes and 51 seconds
......@@ -299,6 +299,8 @@ func (h *Server) handleGrantTicket(w http.ResponseWriter, req *http.Request) {
return
}
log.Printf("authorized %s for %s (ttl=%ds)", username, service, int(ttl.Seconds()))
// Record the service in the session.
auth.AddService(service)
......
Markdown is supported
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