Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Recover account in the login popup fails with a JavaScript error and never sends the request

Abierto
#643 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@guidol-ive ya está trabajando en esto.

Desde el 28/10/2026.

  • #644 de @guidol-ive — abierto

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
20/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
javascript, php

Línea de trabajo

Start with reregister() in system/core/users.php and trace how the login popup submits the request through hypha() and executePostedCommand(). Check how the page handles the no-user result and CSRF token. It is done when recovery submits with the page token and reloads with either the mail-sent or no-user message; pull request #644 is already open.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Component: User interface Impact: Medium Level: Easy Type: Bug Value: Users

Problem

"Recover account" in the login popup does not work.

  1. Click login, then "recover account".
  2. Enter a user name or e-mail address and click "submit".

Nothing happens. The browser console shows, on every click:

Uncaught TypeError: Cannot read properties of undefined (reading '__proto__')
    at hypha (...)
    at HTMLInputElement.onclick

Cause

  • reregister() in system/core/users.php writes a bare <table> into the popup, without a <form> around it. The button calls hypha(..., $(this).closest('form')), which gets an empty jQuery object, and hypha() fails on it. Even if it had been sent, the request carried no CSRF token, so executePostedCommand() would have refused it.
  • When no user matches, the PHP function reregister() returns nothing. The command then reaches the page itself, which does not know it and answers 404 instead of showing the message.

Expected

The request is sent with the CSRF token of the page. The page reloads and shows that a mail was sent, or that no user was found.

Lenguaje dominante
JavaScript
Estrellas
5
Forks
9
Merge medio
18 h 7 min
PR fusionados (30 d)
11

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de PlanBCode/hypha

Todos los issues de PlanBCode/hypha

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.