Skip to content

Commit

Permalink
Update Decidim::UserExtension::UpdateCommandsOverrides
Browse files Browse the repository at this point in the history
  • Loading branch information
takahashim committed Feb 26, 2024
1 parent d2e4bc8 commit 3a23f65
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ def call
notify_followers
broadcast(:ok, @user.unconfirmed_email.present?)
else
@form.errors.add :avatar, @user.errors[:avatar] if @user.errors.has_key? :avatar
[:avatar, :password, :password_confirmation].each do |key|
@form.errors.add key, @user.errors[key] if @user.errors.has_key? key
end
broadcast(:invalid)
end
end
Expand Down

0 comments on commit 3a23f65

Please sign in to comment.