umputun/remark42

Problematic logout doesn't show errors in the UI

開放

#1,455 建立於 2022年7月31日

 (3 則留言) (0 個反應) (0 位負責人)Go (432 個分叉)user submission
bugfrontendhelp wanted

倉庫指標

星標
 (5,500 顆星)
PR 合併指標
 (平均合併 87天 10小時) (30 天內合併 18 個 PR)

描述

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:

貢獻者指南