Typo:Corrected the typo of sign-in in User Model
This commit is contained in:
parent
1a6ba7e640
commit
9d622bd790
|
@ -167,7 +167,7 @@ class User < ActiveRecord::Base
|
|||
# Class methods
|
||||
#
|
||||
class << self
|
||||
# Devise method overridden to allow sing in with email or username
|
||||
# Devise method overridden to allow sign in with email or username
|
||||
def find_for_database_authentication(warden_conditions)
|
||||
conditions = warden_conditions.dup
|
||||
if login = conditions.delete(:login)
|
||||
|
|
Loading…
Reference in New Issue