Skip to content

Commit

Permalink
changed log
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Facchetti committed Jul 5, 2023
1 parent 45bb030 commit 53632df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/portal/portal.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (p *portal) setupRouter(kconfig *kubeconfig.Kubeconfig, prom *prometheus.Pr
// we get the env var from within the function because it is not meant to be configurable
disableOauthOption := os.Getenv("DISABLE_OAUTH")
if disableOauthOption == "true" || env.IsLocalDevelopmentMode() || env.IsCI() {
p.log.Error("running in int")
p.baseAccessLog.Error("running in int")
p.aad, err = middleware.NewIntAAD(p.sessionKey, p.baseAccessLog)
} else {
p.log.Error("not running in int")
Expand Down

0 comments on commit 53632df

Please sign in to comment.