Skip to content

Commit ce6cda0

Browse files
pbolingCopilot
andauthored
Update lib/omniauth/identity/models/rom.rb
Co-authored-by: Copilot <[email protected]>
1 parent 04b61ab commit ce6cda0

File tree

1 file changed

+1
-1
lines changed
  • lib/omniauth/identity/models

1 file changed

+1
-1
lines changed

lib/omniauth/identity/models/rom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def self.included(base)
3131
# @param password [String] The password to check
3232
# @return [self, false] Self if authenticated, false if not
3333
def authenticate(password)
34-
password_digest = @identity_data[@password_field || :password_digest]
34+
password_digest = @identity_data[self.class.password_field || :password_digest]
3535
return false unless password_digest
3636

3737
begin

0 commit comments

Comments
 (0)