about summary refs log tree commit diff
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-10-04 19:49:43 +0200
committerThibaut Girka <thib@sitedethib.com>2019-10-04 19:49:43 +0200
commit1bbba0016a8d2a182248e05b5d51e8a6e22bc3f3 (patch)
tree93c92d1aa5ceab241ffdf14cc7e13f41b0f0fdcc /app/controllers/api/v1
parent360234d1bf1ea8b5c88a96d21156ea351f3e87c2 (diff)
parent83d3e7733da892f5ad94ed2b8757db11250fbe6a (diff)
Merge tag 'v3.0.0' into glitch-soc/merge-upstream
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/api/v1/accounts_controller.rb b/app/controllers/api/v1/accounts_controller.rb
index c12e1c12e..d68d2715f 100644
--- a/app/controllers/api/v1/accounts_controller.rb
+++ b/app/controllers/api/v1/accounts_controller.rb
@@ -78,7 +78,7 @@ class Api::V1::AccountsController < Api::BaseController
   end
 
   def account_params
-    params.permit(:username, :email, :password, :agreement, :locale)
+    params.permit(:username, :email, :password, :agreement, :locale, :reason)
   end
 
   def check_enabled_registrations