class Omnipass::Authentication

Public Instance Methods

copy_uid_to_identity_id() click to toggle source

before_save :copy_uid_to_identity_id # uncomment after migration

# File lib/omnipass/authentication.rb, line 12
def copy_uid_to_identity_id
  self.identity_id = uid if provider == "identity"
end