Skip to content

Commit

Permalink
Update auth config body
Browse files Browse the repository at this point in the history
  • Loading branch information
silentworks committed Nov 15, 2024
1 parent 69f066a commit 260897a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/config/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,8 @@ func (a *auth) ToUpdateAuthConfigBody() v1API.UpdateAuthConfigBody {
SecurityManualLinkingEnabled: &a.EnableManualLinking,
DisableSignup: cast.Ptr(!a.EnableSignup),
ExternalAnonymousUsersEnabled: &a.EnableAnonymousSignIns,
PasswordMinLength: cast.UintToIntPtr(&a.MinimumPasswordLength),
PasswordRequiredCharacters: (*v1API.UpdateAuthConfigBodyPasswordRequiredCharacters)(&a.PasswordRequirements),
}
a.Hook.toAuthConfigBody(&body)
a.MFA.toAuthConfigBody(&body)
Expand Down

0 comments on commit 260897a

Please sign in to comment.