mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 01:56:01 -05:00
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:
commit
6d3c3a02cb
1 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,8 @@ class UsersController < ApplicationController
|
|||
:name,
|
||||
:email,
|
||||
:password,
|
||||
:username
|
||||
:username,
|
||||
:active
|
||||
).merge(ip_address: request.ip)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue