Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ Style/Documentation:
Rails/LexicallyScopedActionFilter:
Exclude:
- 'app/controllers/users/sessions_controller.rb'

2 changes: 1 addition & 1 deletion app/services/turnstile_verifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def verify

private

def attempt_verification?
def attempt_verification # rubocop:disable Naming/PredicateMethod
MAX_RETRIES.times do |attempt|
return true if successful?(attempt)

Expand Down