umputun/remark42

Problematic logout doesn't show errors in the UI

Ouverte

#1 455 ouverte le 31 juil. 2022

 (3 commentaires) (0 réaction) (0 personne assignée)Go (432 forks)user submission
bugfrontendhelp wanted

Métriques du dépôt

Stars
 (5 500 étoiles)
Métriques de merge PR
 (Merge moyen 87j 10h) (18 PRs mergées en 30 j)

Description

I run remark42 like that: ./remark42.darwin-arm64 server --secret=12345 --url=http://127.0.0.1:8080.

If I was logged in before running that version (with no auth providers) I see a normal comment screen:

If I push the "log out" button, http://127.0.0.1:8080/auth/logout?site=remark request is made with status code 400 which has the following answer:

{
    "error": "providers not defined"
}

The interface shows nothing. In the console, I see the following:

Erroring code:

Guide contributeur