Enhancement / fix: include social accounts and api tokens in export (#8016)

This commit is contained in:
shamoon
2024-10-26 06:51:22 -07:00
committed by GitHub
parent 53aa216a4a
commit 7649903d3c
4 changed files with 39 additions and 15 deletions

View File

@@ -97,6 +97,22 @@ class CryptMixin:
"model_name": "paperless_mail.mailaccount",
"fields": [
"password",
"refresh_token",
],
},
{
"exporter_key": "social_tokens",
"model_name": "socialaccount.socialtoken",
"fields": [
"token",
"token_secret",
],
},
{
"exporter_key": "auth_tokens",
"model_name": "authtoken.token",
"fields": [
"key",
],
},
]