summaryrefslogtreecommitdiff
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/v1/users_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/v1/users_controller.rb b/app/controllers/v1/users_controller.rb
index 8296eb0..6640d10 100644
--- a/app/controllers/v1/users_controller.rb
+++ b/app/controllers/v1/users_controller.rb
@@ -63,7 +63,7 @@ module V1
# tester auth can only create test users.
def create_test_account
if User::is_test?(params[:user][:login])
- @user = Account.create(params[:user])
+ @user = Account.create(params[:user], :invite_required => false)
respond_with @user
else
head :forbidden