From 25761db2f38ba96967566a92dd7eaaa86789cbe7 Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Wed, 18 Mar 2020 21:48:08 +0200 Subject: [PATCH] Fix user params --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index 96d4ad1..4277f51 100755 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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