mirror of
https://github.com/discourse/discourse.git
synced 2026-08-26 13:17:20 -05:00
Whitelist :active param so that we can automatically create users that are active via API
This commit is contained in:
@@ -400,7 +400,8 @@ class UsersController < ApplicationController
|
||||
:name,
|
||||
:email,
|
||||
:password,
|
||||
:username
|
||||
:username,
|
||||
:active
|
||||
).merge(ip_address: request.ip)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user