Account Protection locks users out of local WordPress Studio sites (Offline Mode)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- authentication, backend
Direzione di ricerca
Start by tracing the Account Protection login check and the email flow through Email_Service::api_send_auth_email(), then find how Jetpack detects Offline Mode. Reproduce the lockout on a local Studio site using a password on the leak list. Done means offline sites or failed verification email delivery no longer block the user’s login.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Impacted plugin
Jetpack
Quick summary
On a local WordPress Studio site, where Jetpack runs in Offline Mode, Account Protection blocks logins it can't complete. When a password is on the leak list, the "Verify your identity" screen asks for an emailed code and shows "User not found." The code is sent through the WordPress.com API (Email_Service::api_send_auth_email()), which an offline Studio site can't reach, so it never arrives and the user is locked out of their own local site. This happens on the WordPress.org release (16.4) and on the WordPress.com build (16.5-a.3).
Steps to reproduce
- Clone a live site that has Account Protection turned on to a local environment, such as WordPress Studio on localhost, so Jetpack runs in Offline Mode.
- Log out.
- Log in with a password that's on the leak list. In my case it was Studio's default admin user, admin/123.
- The "Verify your identity" screen appears with the error "User not found." No email arrives, and there's no way past the screen.
Expected: Skip password detection when the site is in Offline Mode, or when the verification email can't be sent, instead of blocking the login.
Site owner impact
Fewer than 20% of the total website/platform users
Severity
Major
What other impact(s) does this issue have?
No revenue impact
If a workaround is available, please outline it here.
- Add define( 'DISABLE_JETPACK_ACCOUNT_PROTECTION', true ); to wp-config.php.
- Or log in with the auto-login from Studio's "WP Admin" button, which skips the login form.
Platform (Simple and/or Atomic)
Self-hosted
- Lingua principale
- PHP
- Stelle
- 1.9k
- Fork
- 913
- Merge medio
- 1g 18h
- PR unite (30g)
- 809
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Automattic/jetpack
-
Bug Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Automattic/jetpack#55870 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
Automattic/jetpack#55385 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
WAF: jetpack_waf_blocklog is created without the site's charset and collationForse già presa @jwebbdev l’ha presa 3 giorni fa. Aperta[Plugin] Protect Bug Customer Report
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
Automattic/jetpack#55365 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Package] Stats Admin [Type] Bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
Automattic/jetpack#54188 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Automattic/jetpack#53467 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Automattic/jetpack
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
SVG path arcs with an explicit zero radius throw DivisionByZeroErrorForse già presa @Syed-Shehroz-Sohail l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 5 giorni
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
sync-en
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
Перевод устарел
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno