0

I am working on a mini project and i dont know how to skip email confirmation for users who uses devise_rpx_connectable_to sign in, Every time i try to sign in using this services it sends email confirmation to those users.

Uchenna
  • 4,059
  • 6
  • 40
  • 73

1 Answers1

1

you can always override this method in User class:

def confirmation_required?
      !confirmed?
end

for example you can check there if rpx_identifier.blank?

try this code:

def confirmation_required?
      !confirmed? and rpx_identifier.blank?
end
Ireneusz Skrobis
  • 1,533
  • 1
  • 11
  • 12