mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-09 09:58:20 -05:00
Remove last remnants of PAPERLESS_SHARED_SECRET
This commit is contained in:
parent
96a94c4ee9
commit
f778d3a6e3
@ -269,7 +269,7 @@ Vagrant Method
|
|||||||
dumped to be consumed by Paperless.
|
dumped to be consumed by Paperless.
|
||||||
* ``PAPERLESS_PASSPHRASE``: this is the passphrase Paperless uses to
|
* ``PAPERLESS_PASSPHRASE``: this is the passphrase Paperless uses to
|
||||||
encrypt/decrypt the original document.
|
encrypt/decrypt the original document.
|
||||||
* ``PAPERLESS_SHARED_SECRET``: this is the "magic word" used when consuming
|
* ``PAPERLESS_EMAIL_SECRET``: this is the "magic word" used when consuming
|
||||||
documents from mail or via the API. If you don't use either, leaving it
|
documents from mail or via the API. If you don't use either, leaving it
|
||||||
blank is just fine.
|
blank is just fine.
|
||||||
|
|
||||||
|
@ -42,10 +42,7 @@ class Message(Loggable):
|
|||||||
and n attachments, and that we don't care about the message body.
|
and n attachments, and that we don't care about the message body.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
SECRET = os.getenv(
|
SECRET = os.getenv("PAPERLESS_EMAIL_SECRET")
|
||||||
"PAPERLESS_EMAIL_SECRET",
|
|
||||||
os.getenv("PAPERLESS_SHARED_SECRET") # TODO: Remove after 2017/09
|
|
||||||
)
|
|
||||||
|
|
||||||
def __init__(self, data, group=None):
|
def __init__(self, data, group=None):
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user