mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-02 10:52:49 +02:00
Currently the Authenticate.storeIdentityProfile() method always emits an Error log. If there is no error from cookieChunker.SetCookie(), this results in an empty log entry: {"level":"error","time":"2023-06-27T23:56:38Z"} Refactor this method to instead return the error from SetCookie(), and update the calling code so that it logs a message only when this error is non-nil. (Moving the log call to the calling method gives access to the request context, so the log entry will include the request ID and other related info.) |
||
---|---|---|
.. | ||
authenticate.go | ||
authenticate_test.go | ||
config.go | ||
events.go | ||
handlers.go | ||
handlers_test.go | ||
identity.go | ||
identity_profile.go | ||
middleware.go | ||
state.go |