From d1c508570032c620a654b896111215a76a811517 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Sun, 6 Mar 2022 14:41:27 +0100 Subject: [PATCH] fix: rebase regressions --- selfservice/strategy/password/settings.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfservice/strategy/password/settings.go b/selfservice/strategy/password/settings.go index fc97cb125547..e85ff96f9afa 100644 --- a/selfservice/strategy/password/settings.go +++ b/selfservice/strategy/password/settings.go @@ -125,7 +125,7 @@ func (s *Strategy) continueSettingsFlow( return err } - co, err := json.Marshal(&identity.CredentialsConfig{HashedPassword: string(hpw)}) + co, err := json.Marshal(&identity.CredentialsPassword{HashedPassword: string(hpw)}) if err != nil { return errors.WithStack(herodot.ErrInternalServerError.WithReasonf("Unable to encode password options to JSON: %s", err)) }