You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not entirely sure who I should report this issue to, but it looks like has_secure_password change made in rails/rails#47708 partially broke rendering of password inputs, as it doesn't use the regular validates_length_of anymore, but instead goes with a custom validation. So the following snippet renders different output in Rails 7.0 and Rails 7.1
I'm not entirely sure who I should report this issue to, but it looks like
has_secure_password
change made in rails/rails#47708 partially broke rendering of password inputs, as it doesn't use the regularvalidates_length_of
anymore, but instead goes with a custom validation. So the following snippet renders different output in Rails 7.0 and Rails 7.1Environment
Current behavior
Expected behavior
Notice the
maxlength="72"
andsize="72"
attributes of password inputOf course, as a workaround we can just specify
maxlength
for every password, password confirmation and password challenge input.The text was updated successfully, but these errors were encountered: