Skip to content

Commit

Permalink
Merge pull request #7 from OlympiaSchoolDistrict/master
Browse files Browse the repository at this point in the history
Added error message to catch validation issue
  • Loading branch information
geoffgarside authored Jul 14, 2016
2 parents 5c674f0 + 00c0c3d commit fd85b5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ func (c *Client) getSession(w http.ResponseWriter, r *http.Request) {

if ticket := r.URL.Query().Get("ticket"); ticket != "" {
if err := c.validateTicket(ticket, r); err != nil {
if glog.V(2) {
glog.Infof("Error validating ticket: %v", err)
}
return // allow ServeHTTP()
}

Expand Down

0 comments on commit fd85b5a

Please sign in to comment.