lib/clearance/user.rb in fbdoorman-0.7.0 vs lib/clearance/user.rb in fbdoorman-0.7.1
- old
+ new
@@ -184,10 +184,10 @@
# warn "[DEPRECATION] password_required?: use !password_optional? instead"
!password_optional?
end
def send_confirmation_email
- ClearanceMailer.deliver_confirmation self ESTO DEBERIA SER TEMPORAL
+ ClearanceMailer.deliver_confirmation
end
end
module ClassMethods
# Authenticate with email and password.