Improve JWT key initialization and avoid saving public key (#4085)

This commit is contained in:
Daniel García authored and GitHub committed 2024-03-17 15:11:20 +01:00
1 parent 2cbfe6fa5b
commit a1fbd6d729
5 files changed
+48 -87

No files matched your search

+1 -1
View File
@@ -103,7 +103,7 @@ impl Attachment {
let file_path = &self.get_file_path();
match crate::util::delete_file(file_path) {
match std::fs::remove_file(file_path) {
// Ignore "file not found" errors. This can happen when the
// upstream caller has already cleaned up the file as part of
// its own error handling.