(improvement)(auth)Avoid printing error logs when key decryption and token parsing fail (#1681)

* (improvement)(auth) Avoid throwing exceptions after login token authentication fails #1679

(improvement)(common) Do not print error log when key decryption fails #1679


---------

Co-authored-by: lxwcodemonkey
This commit is contained in:
LXW
2024-09-18 16:20:12 +08:00
committed by GitHub
parent 70fff17fbe
commit 0c0fbb829e
5 changed files with 24 additions and 27 deletions

View File

@@ -113,7 +113,6 @@ public class AESEncryptionUtil {
byte[] decryptedBytes = cipher.doFinal(encryptBytes);
return new String(decryptedBytes, ENCODE);
} catch (Exception e) {
log.warn("encryptStr decrypt failed:{}", encryptStr);
return encryptStr;
}
}