mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
Restore info metrics (#252)
This commit is contained in:
parent
5e3eb69dca
commit
790619ef01
5 changed files with 14 additions and 2 deletions
|
@ -60,10 +60,10 @@ func (a *Authorize) ValidIdentity(route string, identity *Identity) bool {
|
|||
|
||||
// UpdateOptions updates internal structures based on config.Options
|
||||
func (a *Authorize) UpdateOptions(o config.Options) error {
|
||||
log.Info().Msg("authorize: updating options")
|
||||
if a == nil {
|
||||
return nil
|
||||
}
|
||||
log.Info().Msg("authorize: updating options")
|
||||
a.identityAccess = NewIdentityWhitelist(o.Policies, o.Administrators)
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue