XcodesOrg / XcodesOrg/XcodesApp

Pasting 2FA SMS codes will not fill all the textfields

Open
#587 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
8.6k
Forks
387
Avg merge
6d 7h
Merged PRs (30d)
3

Description

Describe the bug
Pasting 2fa codes should autofill all textfields

To Reproduce

  1. Login using your Apple id with 2fa activated
  2. Press send SMS
  3. In the modal with the 6 textfields press "cmd + P" in any to paste like any other text
  4. Observe how only the last digit is used only on the focused textfiled

Expected behavior

Screenshots

Version

  • OS: All
  • Xcodes: All

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Apple ID 2FA SMS modal and inspect how paste input is handled by its six textfields. Done means pasting a complete code into any field distributes the digits across all six fields; the payload names no file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
authentication, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.