Skip to content

Commit 4b2929e

Browse files
github-actions[bot]maoanran
authored andcommitted
Squashed commit of the following:
commit 8b52622 Author: splaunov <splaunov@gmail.com> Date: Mon Oct 28 09:40:40 2024 +0300 fix: code strategy should not reset UI messages when populating login flow (PS-557)
1 parent 36e624c commit 4b2929e

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

selfservice/strategy/code/strategy.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ func (s *Strategy) PopulateMethod(r *http.Request, f flow.Flow) error {
182182
f.SetState(flow.StateChooseMethod)
183183
}
184184

185-
f.GetUI().ResetMessages()
186-
187185
switch f.GetState() {
188186
case flow.StateChooseMethod:
189187
if err := s.populateChooseMethodFlow(r, f); err != nil {

0 commit comments

Comments
 (0)