WordPress / WordPress/two-factor

Email: Also email a 'Login Link' the user can just click.

Open
#50 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Emailed Codes
Dominant language
PHP
Stars
825
Forks
187
Avg merge
2d 11h
Merged PRs (30d)
17

Description

This will avoid the awkwardness of remembering or copypasting a code when switching between apps on mobile.

Not as a full replacement for code, offer the code as well if they prefer it, but as a convenience thing.

We'll also want to confirm that the actual link clicker is coming from the same IP and User Agent that the initial first step of the login came through -- or maybe has a 'part1' cookie set or something -- just in case the email is exploited, we don't want someone quicker on the draw to click on the link and hijack the login.

Contributor guide

No contributing guide indexed for this repository

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

No files or tests are named. Start by tracing the existing code-based login flow and its email handling, then identify the entry points for the initial login step and the later verification step. Done means users can receive and click a login link while retaining the code option, with the proposed clicker-validation behavior agreed and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
authentication, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.