summaryrefslogtreecommitdiffstats
path: root/web_src/js/components
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2023-05-07 19:29:43 +0800
committerGitHub <noreply@github.com>2023-05-07 19:29:43 +0800
commit0bb52883eb8f866821fb7cb91e535bb4d051dbfb (patch)
tree769940886500c8eabe3ab95b28f2d636bcd5d280 /web_src/js/components
parent56ae853ca0f7255cc669d802b741922fd8670c3b (diff)
downloadgitea-0bb52883eb8f866821fb7cb91e535bb4d051dbfb.tar.gz
gitea-0bb52883eb8f866821fb7cb91e535bb4d051dbfb.zip
Improve decryption failure message (#24573)
Help some users like #16832 #1851 There are many users reporting similar problem: if the SECRET_KEY mismatches, some operations (like 2FA login) only reports unclear 500 error and unclear "base64 decode error" log (some maintainers ever spent a lot of time on debugging such problem) The SECRET_KEY was not well-designed and it is also a kind of technical debt. Since it couldn't be fixed easily, it's good to add clearer error messages, then at least users could know what the real problem is. --------- Co-authored-by: delvh <dev.lh@web.de>
Diffstat (limited to 'web_src/js/components')
0 files changed, 0 insertions, 0 deletions