mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:07:53 +08:00
d99ccf6d27
This fixes a bug where the server would 500 if the only user fields where optional ones, and the create_user call didn't provide any values so that params[:user_fields] was nil. Additionally, don't bother double-checked for required fields, since we iterate over all fields and will catch any that are required and blank. |
||
---|---|---|
.. | ||
admin | ||
application_controller_spec.rb | ||
badges_controller_spec.rb | ||
categories_controller_spec.rb | ||
clicks_controller_spec.rb | ||
composer_messages_controller_spec.rb | ||
draft_controller_spec.rb | ||
email_controller_spec.rb | ||
embed_controller_spec.rb | ||
export_csv_controller_spec.rb | ||
groups_controller_spec.rb | ||
invites_controller_spec.rb | ||
list_controller_spec.rb | ||
notifications_controller_spec.rb | ||
omniauth_callbacks_controller_spec.rb | ||
onebox_controller_spec.rb | ||
permalinks_controller_spec.rb | ||
post_actions_controller_spec.rb | ||
posts_controller_spec.rb | ||
robots_txt_controller_spec.rb | ||
search_controller_spec.rb | ||
session_controller_spec.rb | ||
site_customizations_controller_spec.rb | ||
static_controller_spec.rb | ||
topics_controller_spec.rb | ||
uploads_controller_spec.rb | ||
user_actions_controller_spec.rb | ||
user_badges_controller_spec.rb | ||
users_controller_spec.rb |