Skip to content

Commit

Permalink
Remove flag to register self-auth handlers (#3251)
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-lou authored Jan 19, 2023
1 parent 907a4b2 commit ef1312b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions enterprise/server/selfauth/selfauth.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ type tokenJSON struct {
}

func Register(env environment.Env) error {
if !Enabled() {
return nil
}
oauth, err := NewSelfAuth()
if err != nil {
return status.InternalErrorf("Error initializing self auth: %s", err)
Expand Down

0 comments on commit ef1312b

Please sign in to comment.