@ -5,7 +5,10 @@ class Auth::ConfirmationsController < Devise::ConfirmationsController
yieldresourceifblock_given?
ifresource.errors.empty?
ifresource.sign_in_count.zero?
# previously we reset sign in count to indicate that a user was deactivated and so needs to reset their password on confirming their email post reactivation.
# now we have a specific flag for this.
# though for backwards compatability we need to ensure previous users with a reset sign in count still will see the password reset screen