diff options
Diffstat (limited to 'app/services/users/build_service.rb')
-rw-r--r-- | app/services/users/build_service.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/services/users/build_service.rb b/app/services/users/build_service.rb index 0fa1bb96b13..8ef1b3e0613 100644 --- a/app/services/users/build_service.rb +++ b/app/services/users/build_service.rb @@ -177,7 +177,7 @@ module Users # Allowed params for user signup def signup_params - [ + signup_params = [ :email, :name, :password, @@ -187,6 +187,9 @@ module Users :first_name, :last_name ] + signup_params << :preferred_language if ::Feature.enabled?(:preferred_language_switcher) + + signup_params end end end |