mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Allow date_of_field column to be updated.
This commit is contained in:
@@ -54,6 +54,7 @@ class UserUpdater
|
||||
|
||||
user.name = attributes.fetch(:name) { user.name }
|
||||
user.locale = attributes.fetch(:locale) { user.locale }
|
||||
user.date_of_birth = attributes.fetch(:date_of_birth) { user.date_of_birth }
|
||||
|
||||
if guardian.can_grant_title?(user)
|
||||
user.title = attributes.fetch(:title) { user.title }
|
||||
|
||||
Reference in New Issue
Block a user