Commit e8b9712d89f681049f8d537b8ef7f2a4295f102b
Exists in
master
and in
4 other branches
Merge pull request #5262 from yatish27/master
Typo:Corrected the typo of sign-in in User Model
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/models/user.rb
@@ -167,7 +167,7 @@ class User < ActiveRecord::Base | @@ -167,7 +167,7 @@ class User < ActiveRecord::Base | ||
167 | # Class methods | 167 | # Class methods |
168 | # | 168 | # |
169 | class << self | 169 | class << self |
170 | - # Devise method overridden to allow sing in with email or username | 170 | + # Devise method overridden to allow sign in with email or username |
171 | def find_for_database_authentication(warden_conditions) | 171 | def find_for_database_authentication(warden_conditions) |
172 | conditions = warden_conditions.dup | 172 | conditions = warden_conditions.dup |
173 | if login = conditions.delete(:login) | 173 | if login = conditions.delete(:login) |