From 3c5fdcde08415607518dfb172fbd6ea11b6e4e0c Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Fri, 30 Aug 2019 18:37:16 +0800 Subject: [PATCH] 1 --- app/models/user.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 10b6a14d..58f293d6 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -673,9 +673,9 @@ class User < Principal base_reload(*args) end - def mail=(arg) - write_attribute(:mail, arg.to_s.strip) - end + # def mail=(arg) + # write_attribute(:mail, arg.to_s.strip) + # end def identity_url=(url) if url.blank?