mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 19:34:09 +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 | ||
users | ||
about_controller.rb | ||
application_controller.rb | ||
badges_controller.rb | ||
categories_controller.rb | ||
clicks_controller.rb | ||
composer_messages_controller.rb | ||
draft_controller.rb | ||
email_controller.rb | ||
embed_controller.rb | ||
exceptions_controller.rb | ||
export_csv_controller.rb | ||
forums_controller.rb | ||
groups_controller.rb | ||
invites_controller.rb | ||
list_controller.rb | ||
notifications_controller.rb | ||
onebox_controller.rb | ||
permalinks_controller.rb | ||
post_actions_controller.rb | ||
posts_controller.rb | ||
robots_txt_controller.rb | ||
search_controller.rb | ||
session_controller.rb | ||
site_controller.rb | ||
site_customizations_controller.rb | ||
static_controller.rb | ||
topics_controller.rb | ||
uploads_controller.rb | ||
user_actions_controller.rb | ||
user_avatars_controller.rb | ||
user_badges_controller.rb | ||
users_controller.rb |