Whitelist :active param so that we can automatically create users that are active via API

This commit is contained in:
Leonard Teo 2014-02-04 15:40:30 -05:00
parent dc77e7e27c
commit c13aa8852b

View File

@ -400,7 +400,8 @@ class UsersController < ApplicationController
:name,
:email,
:password,
:username
:username,
:active
).merge(ip_address: request.ip)
end
end