Merge pull request #5262 from yatish27/master
Typo:Corrected the typo of sign-in in User Model
This commit is contained in:
		
						commit
						e8b9712d89
					
				| 
						 | 
					@ -167,7 +167,7 @@ class User < ActiveRecord::Base
 | 
				
			||||||
  # Class methods
 | 
					  # Class methods
 | 
				
			||||||
  #
 | 
					  #
 | 
				
			||||||
  class << self
 | 
					  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)
 | 
					    def find_for_database_authentication(warden_conditions)
 | 
				
			||||||
      conditions = warden_conditions.dup
 | 
					      conditions = warden_conditions.dup
 | 
				
			||||||
      if login = conditions.delete(:login)
 | 
					      if login = conditions.delete(:login)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue