Merge pull request #1900 from ballistiq/allow_user_activation_on_create

Whitelist :active param so that we can automatically create users that a...
This commit is contained in:
Régis Hanol 2014-02-06 09:56:00 +01:00
commit 6d3c3a02cb

View file

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