umputun/remark42

Problematic logout doesn't show errors in the UI

オープン

#1,455 opened on 2022/07/31

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Go (432 件のフォーク)user submission
bugfrontendhelp wanted

Repository metrics

Stars
 (5,500 個のスター)
PR merge metrics
 (平均マージ 87d 10h) (30d で 18 merged PRs)

説明

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:

コントリビューターガイド