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
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def handle_too_many_confirmation_sends
if user_fully_authenticated?
redirect_to account_url
else
redirect_to login_two_factor_options_url
redirect_to two_factor_options_url
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ def index
timeout: timeout,
),
)
expect(response).to redirect_to login_two_factor_options_url
expect(response).to redirect_to two_factor_options_url
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/features/users/sign_up_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
Throttle.attempt_window_in_minutes(:phone_confirmation).minutes,
)

expect(current_path).to eq(login_two_factor_options_path)
expect(current_path).to eq(two_factor_options_path)
expect(page).to have_content(
I18n.t(
'errors.messages.phone_confirmation_throttled',
Expand Down