mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 04:51:14 +00:00
Fix user params
This commit is contained in:
parent
5d4132ccbf
commit
25761db2f3
1 changed files with 1 additions and 1 deletions
|
@ -355,6 +355,6 @@ class User < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def self.params(params, cuser)
|
||||
params.require(:user).permit(:raw_password, :firstname, :lastname, :email, :steamid, :country, :birthdate, :timezone, :public_email, :filter)
|
||||
params.require(:user).permit(:raw_password, :firstname, :lastname, :email, :steamid, :country, :birthdate, :timezone, :public_email, :filter, :team_id)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue