Skip to content

Commit

Permalink
store authenticate state on creation (#4064)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasaga committed Mar 17, 2023
1 parent 438039d commit 6e39ebc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions authenticate/authenticate.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func New(cfg *config.Config, options ...Option) (*Authenticate, error) {
state: atomicutil.NewValue(newAuthenticateState()),
}

a.options.Store(cfg.Options)

state, err := newAuthenticateStateFromConfig(cfg)
if err != nil {
return nil, err
Expand Down

0 comments on commit 6e39ebc

Please sign in to comment.