Commit 9d622bd7 authored by Yatish Mehta's avatar Yatish Mehta

Typo:Corrected the typo of sign-in in User Model

parent 1a6ba7e6
......@@ -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)
......
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