User can't login if password set by admin

Summary

Users get into a redirect loop if their password set by admin (an admin updated it for example). login will redirect to the /users/sign_up/welcome page, and that page will redirect to the -/profile/password/new page, and on and on.

  • Gitlab version : 14.6.2
  • Gitlab CE

What is the current bug behavior?

Redirect loop upon login

Relevant logs and/or screenshots

Screen_Shot_2022-03-01_at_10.12.08