mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-14 02:27:06 +01:00
Allows users to use OAuth tokens instead of passwords
This commit is contained in:
parent
14b997fe2c
commit
09b1413748
8 changed files with 92 additions and 12 deletions
|
|
@ -38,6 +38,8 @@ class MailAccount(document_models.ModelWithOwner):
|
|||
|
||||
password = models.CharField(_("password"), max_length=256)
|
||||
|
||||
is_token = models.BooleanField(_("Is token authentication"), default=False)
|
||||
|
||||
character_set = models.CharField(
|
||||
_("character set"),
|
||||
max_length=256,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue