Ensure all errors are logged in ProcessCookie()
This commit is contained in:
		
							parent
							
								
									beed9fb9a2
								
							
						
					
					
						commit
						f554f99abd
					
				|  | @ -266,11 +266,11 @@ func (p *OauthProxy) ProcessCookie(rw http.ResponseWriter, req *http.Request) (e | ||||||
| 		if ok { | 		if ok { | ||||||
| 			email, user, access_token, err = parseCookieValue( | 			email, user, access_token, err = parseCookieValue( | ||||||
| 				value, p.AesCipher) | 				value, p.AesCipher) | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
| 	if err != nil { | 	if err != nil { | ||||||
| 		log.Printf(err.Error()) | 		log.Printf(err.Error()) | ||||||
| 	} | 	} | ||||||
| 		} |  | ||||||
| 	} |  | ||||||
| 	return | 	return | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue