diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:39:16 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-05-09 17:39:16 -0400 |
commit | 11989d62d09a628015c68c161898dfabcd966825 (patch) | |
tree | eeaaf6c4a7ec221f6f7f7d56a9a3dca2ffa6ab38 | |
parent | 21be1b415262773e099176dbb3da9846bc36a0ca (diff) | |
download | gitlab-ce-11989d62d09a628015c68c161898dfabcd966825.tar.gz |
Remove unnecessary User#login accessor override
-rw-r--r-- | app/models/user.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 70972eb2715..b45c7f20e52 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -674,9 +674,4 @@ class User < ActiveRecord::Base true end - - # Used to populate the hidden form field during Two-factor authentication - def login - username || email - end end |