Skip to content

Commit

Permalink
Rename helper to clerk_user_needs_reverification
Browse files Browse the repository at this point in the history
  • Loading branch information
agis committed Nov 4, 2024
1 parent 816e512 commit 3e3c0cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clerk/authenticatable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def clerk_user_signed_in?
!!clerk_verified_session_claims
end

def clerk_session_needs_reverification?(params=StepUp::PRESETS[:strict])
def clerk_user_needs_reverification?(params=StepUp::PRESETS[:strict])
!request.env['clerk'].is_user_reverified?(params)
end

Expand Down

0 comments on commit 3e3c0cd

Please sign in to comment.