提交 11989d62 编写于 作者: R Robert Speicher

Remove unnecessary User#login accessor override

上级 21be1b41
...@@ -674,9 +674,4 @@ class User < ActiveRecord::Base ...@@ -674,9 +674,4 @@ class User < ActiveRecord::Base
true true
end end
# Used to populate the hidden form field during Two-factor authentication
def login
username || email
end
end end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册