Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Fix login with personal email and recover password #844

Open
Spanioulis opened this issue Feb 22, 2023 · 2 comments
Open

Fix login with personal email and recover password #844

Spanioulis opened this issue Feb 22, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Spanioulis
Copy link
Collaborator

Spanioulis commented Feb 22, 2023

  1. Cuando intentas realizar Login con tu correo personal (el proceso de Register es satisfactorio) clickando el botón "Acceder", salen error de 'status 400'.
  2. Accedes a intentar recuperar la contraseña mediante enlace "Has olvidado tu contraseña?
    Recupérala" situado en debajo del botón de Acceder del Login.
  3. Cuando introduces tu correo personal y clickas el botón de "Enviar", sale el mismo error que en el caso anterior.

Adjunto imágenes de los errores que salen en pantalla y consola:

image
image

Adjunto responses:

  • Login:
    HTTP/1.1 400 Bad Request Access-Control-Allow-Origin: * Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests X-DNS-Prefetch-Control: off Expect-CT: max-age=0 X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=15552000; includeSubDomains X-Download-Options: noopen X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: no-referrer X-XSS-Protection: 0 Content-Type: application/json; charset=utf-8 Content-Length: 146 ETag: W/"92-wcE0Q3Iy9whvqMEigbBAOMb2GBk" Date: Wed, 22 Feb 2023 11:14:11 GMT Connection: keep-alive Keep-Alive: timeout=5

  • Recover/password:
    HTTP/1.1 400 Bad Request Access-Control-Allow-Origin: * Content-Security-Policy: default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';img-src 'self' data:;object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline';upgrade-insecure-requests X-DNS-Prefetch-Control: off Expect-CT: max-age=0 X-Frame-Options: SAMEORIGIN Strict-Transport-Security: max-age=15552000; includeSubDomains X-Download-Options: noopen X-Content-Type-Options: nosniff X-Permitted-Cross-Domain-Policies: none Referrer-Policy: no-referrer X-XSS-Protection: 0 Content-Type: application/json; charset=utf-8 Content-Length: 76 ETag: W/"4c-DhTa5oW1PrWA620W9pCbPsiPY2w" Date: Wed, 22 Feb 2023 11:15:07 GMT Connection: keep-alive Keep-Alive: timeout=5

@Spanioulis Spanioulis added the bug Something isn't working label Feb 22, 2023
@kevinmamaqi
Copy link
Contributor

Gracias @Spanioulis , por favor detalla los pasos para reproducir en puntos (1, 2, ...) y añade el mensaje de error de consola y del response.

@kevinmamaqi
Copy link
Contributor

Steps to reproduce:

  1. Go to http://localhost:3000/register
  2. Introduce the name test19
  3. Introduce the surname test19
  4. Introduce the email [email protected]
  5. Introduce the password Test1919@
  6. Click register
  7. Go to login
  8. Introduce the email and password mentioned in points 4 and 5.

Expected result:

  • The user logs in succesfully.

Actual result:

  • Error 400. Wrong password.
{
    "code": "error",
    "header": "Wrong password",
    "message": "The password you introduced is incorrect, please try again or try to recover your password."
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants