remove attr_accessible from User model

This commit is contained in:
JuliusR 2021-12-18 11:39:22 +01:00
parent a154ed0356
commit a30090ff86
1 changed files with 0 additions and 2 deletions

View File

@ -3,8 +3,6 @@ class User < ActiveRecord::Base
has_many :user_accesses, :dependent => :destroy
has_many :suppliers, :through => :user_accesses
attr_accessible :email, :password, :password_confirmation
attr_accessor :password
before_save :encrypt_password