Fix user params

This commit is contained in:
Ari Timonen 2020-03-18 21:48:08 +02:00
parent 5d4132ccbf
commit 25761db2f3

View file

@ -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