diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-05-07 19:29:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-07 19:29:43 +0800 |
commit | 0bb52883eb8f866821fb7cb91e535bb4d051dbfb (patch) | |
tree | 769940886500c8eabe3ab95b28f2d636bcd5d280 /web_src/js/components | |
parent | 56ae853ca0f7255cc669d802b741922fd8670c3b (diff) | |
download | gitea-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