about summary refs log tree commit diff
path: root/app/services/app_sign_up_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/app_sign_up_service.rb')
-rw-r--r--app/services/app_sign_up_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/app_sign_up_service.rb b/app/services/app_sign_up_service.rb
index 1878587e8..d621cc462 100644
--- a/app/services/app_sign_up_service.rb
+++ b/app/services/app_sign_up_service.rb
@@ -4,7 +4,7 @@ class AppSignUpService < BaseService
   def call(app, params)
     return unless allowed_registrations?
 
-    user_params    = params.slice(:email, :password, :agreement)
+    user_params    = params.slice(:email, :password, :agreement, :locale)
     account_params = params.slice(:username)
     user           = User.create!(user_params.merge(created_by_application: app, password_confirmation: user_params[:password], account_attributes: account_params))