Skip to content

Commit

Permalink
Fix wrong reference to template (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpoonwj authored Apr 8, 2024
1 parent 60b3abf commit db909be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fusionauth/resource_fusionauth_themes.go
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func buildResourceDataFromTheme(t fusionauth.Theme, data *schema.ResourceData) d
if err := data.Set("account_two_factor_index", t.Templates.AccountTwoFactorIndex); err != nil {
return diag.Errorf("theme.account_two_factor_index: %s", err.Error())
}
if err := data.Set("confirmation_required", t.Templates.AccountTwoFactorIndex); err != nil {
if err := data.Set("confirmation_required", t.Templates.ConfirmationRequired); err != nil {
return diag.Errorf("theme.confirmation_required: %s", err.Error())
}
if err := data.Set("account_webauthn_add", t.Templates.AccountWebAuthnAdd); err != nil {
Expand Down

0 comments on commit db909be

Please sign in to comment.