version0chiro/x-ama

BUG: Upon clicking submit answer to a question the user is locked out

Ouverte

#17 ouverte le 18 juil. 2024

 (0 commentaire) (0 réaction) (0 personne assignée)Svelte (5 forks)auto 404
buggood first issuehelp wanted

Métriques du dépôt

Stars
 (4 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Upon trying to answer a question in the /protected/[username] section, the user is logged out and is presented with "not your page remark"

Even if the log out takes place, the answer is submitted

image

To fix:

  • Answer submission should be made transactional, if the user is logged out in between the answer query should not be recorded
  • The user should not be logged out when submitting the answer

Record

  • I agree to follow this project's Code of Conduct
  • I want to work on this issue

Guide contributeur