mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-27 15:08:14 +02:00
Update internal/identity/manager/manager.go
Co-authored-by: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com>
This commit is contained in:
parent
3148e4947f
commit
81a26ff6c9
1 changed files with 3 additions and 1 deletions
|
@ -400,7 +400,9 @@ func (mgr *Manager) updateSession(ctx context.Context, s *session.Session) {
|
|||
mgr.mu.Unlock()
|
||||
}
|
||||
|
||||
// updateUser updates the user in the databroker, the local data store, and resets the scheduler
|
||||
// updateUser updates the user in the databroker, the local data store, and resets the scheduler.
|
||||
// (Whenever we refresh a session, we also refresh the user info. By resetting the user info
|
||||
// scheduler here we can avoid refreshing user info more often than necessary.)
|
||||
func (mgr *Manager) updateUser(ctx context.Context, u *user.User) {
|
||||
log.Ctx(ctx).Debug().
|
||||
Str("user_id", u.GetId()).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue