wxiaoguang
0bb52883eb
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>
2023-05-07 19:29:43 +08:00
..
2023-04-22 22:16:54 -04:00
2023-02-06 09:49:21 +08:00
2022-11-27 18:20:29 +00:00
2023-04-12 18:16:45 +08:00
2023-04-12 18:16:45 +08:00
2023-04-21 13:15:49 -04:00
2023-04-07 21:25:49 +08:00
2023-04-13 18:41:04 -04:00
2023-04-22 14:53:00 -04:00
2022-11-27 18:20:29 +00:00
2023-05-06 22:04:55 +08:00
2023-04-17 11:37:23 +08:00
2023-05-04 11:55:35 +08:00
2023-01-05 13:58:51 +02:00
2022-12-29 10:57:15 +08:00
2022-11-27 18:20:29 +00:00
2023-05-04 05:08:41 +00:00
2023-02-15 21:37:34 +08:00
2023-04-19 22:08:01 -04:00
2023-01-29 09:49:51 -06:00
2023-03-14 16:09:01 -04:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-03-08 15:40:04 -05:00
2023-03-29 14:32:26 +08:00
2023-04-25 23:06:39 +08:00
2023-01-26 22:45:49 -06:00
2022-12-02 22:14:57 +08:00
2023-04-10 16:44:02 +08:00
2023-04-22 17:56:27 -04:00
2023-04-24 05:50:58 -04:00
2023-05-04 11:55:35 +08:00
2022-11-27 18:20:29 +00:00
2023-02-08 19:54:01 +02:00
2023-02-18 21:17:39 +02:00
2022-11-27 18:20:29 +00:00
2023-04-13 18:41:04 -04:00
2023-01-31 09:45:19 +08:00
2023-04-12 18:16:45 +08:00
2023-05-05 20:33:37 +00:00
2023-04-22 17:56:27 -04:00
2022-11-27 18:20:29 +00:00
2023-04-17 23:10:40 -04:00
2023-02-03 18:11:48 -05:00
2023-02-11 08:39:50 +08:00
2022-11-27 18:20:29 +00:00
2023-04-12 18:16:45 +08:00
2023-05-03 21:37:30 -04:00
2022-11-27 18:20:29 +00:00
2023-01-31 10:08:05 +01:00
2022-11-27 18:20:29 +00:00
2023-05-05 13:46:17 +00:00
2023-05-07 19:29:43 +08:00
2023-04-13 18:41:04 -04:00
2023-05-05 20:33:37 +00:00
2022-12-30 23:31:00 +08:00
2022-11-27 18:20:29 +00:00
2023-04-22 17:56:27 -04:00
2023-04-27 11:51:20 +08:00
2023-04-12 18:16:45 +08:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-05-07 09:49:46 +00:00
2023-05-04 14:36:34 +08:00
2023-05-03 19:53:43 -04:00
2023-04-28 17:23:19 -04:00
2023-02-05 15:29:03 +08:00
2023-03-07 22:40:41 -05:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-05-02 12:31:35 -04:00
2023-02-08 14:44:42 +08:00
2023-05-04 14:36:34 +08:00
2023-01-01 23:23:15 +08:00