Commit 11989d62 authored by Robert Speicher's avatar Robert Speicher

Remove unnecessary User#login accessor override

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment