mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 18:46:52 +01:00
Enhancement / fix: include social accounts and api tokens in export (#8016)
This commit is contained in:
parent
53aa216a4a
commit
7649903d3c
4 changed files with 39 additions and 15 deletions
|
|
@ -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",
|
||||
],
|
||||
},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue