mirror of
https://github.com/miniflux/v2.git
synced 2025-08-21 18:11:09 +00:00
Improve Fever API logging
This commit is contained in:
parent
bf443a65e2
commit
a102843789
2 changed files with 11 additions and 7 deletions
|
@ -44,7 +44,7 @@ func (m *middleware) serve(next http.Handler) http.Handler {
|
|||
return
|
||||
}
|
||||
|
||||
logger.Info("[Fever] User #%d is authenticated", user.ID)
|
||||
logger.Info("[Fever] User #%d is authenticated with user agent %q", user.ID, r.UserAgent())
|
||||
m.store.SetLastLogin(user.ID)
|
||||
|
||||
ctx := r.Context()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue