version0chiro/x-ama

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

Aperta

#17 aperta il 18 lug 2024

 (0 commenti) (0 reazioni) (0 assegnatari)Svelte (5 fork)auto 404
buggood first issuehelp wanted

Metriche repository

Star
 (4 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

Guida contributor