FIX: add user option/profile fields that were not permitted

This commit is contained in:
Régis Hanol 2017-09-28 14:59:53 +02:00
parent ab68379abb
commit cd6dff58dd
1 changed files with 11 additions and 1 deletions

View File

@ -858,7 +858,17 @@ class UsersController < ApplicationController
:date_of_birth,
:muted_usernames,
:theme_key,
:locale
:locale,
:bio_raw,
:location,
:website,
:dismissed_banner_key,
:profile_background,
:card_background,
:muted_category_ids,
:watched_category_ids,
:tracked_category_ids,
:watched_first_post_category_ids
] + UserUpdater::OPTION_ATTR
result = params