Skip to content

Update file names and method names after copy change

What does this MR do?

Related to #337545 (closed)

In !66693 (merged) and !68001 (merged) we updated the copy in a global alert to be more specific about checking two-factor authentication recovery settings vs just recovery settings. This MR updates file and method names to better match the copy and intent of the alert.

Screenshots or Screencasts (strongly suggested)

No visual changes

Alert for context

Screen_Shot_2021-08-12_at_9.50.48_AM

How to setup and validate locally (strongly suggested)

  1. Enable two-factor authentication
    1. Navigate to /-/profile/account
    2. Click "Enable two-factor authentication"
    3. Open up 1Password
    4. Click + icon and then "Login"
    5. Create a new "One-Time Password" section
      • Screen_Shot_2020-12-03_at_11.33.49_AM
    6. Click the QR icon left of the dropdown that was just used
    7. Drag the QR window over the QR code
    8. Paste the OTP in the "Pin code" field and click "Register with two-factor app"
  2. Download and apply this patch: local-testing.patch
    • git apply <path to patch>
  3. Delete the UserCallout record for this alert
    • bin/rails console
    • UserCallout.where({ feature_name: 12 }).destroy_all
  4. Reload the page

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Peter Hegman

Merge request reports