sources/plex: remove default for plex_token

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-05-20 19:09:51 +02:00
parent c58fe18b97
commit 71d112bdcf
2 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.3 on 2021-05-20 17:04
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("authentik_sources_plex", "0002_auto_20210505_1717"),
]
operations = [
migrations.AlterField(
model_name="plexsource",
name="plex_token",
field=models.TextField(help_text="Plex token used to check firends"),
),
]

View File

@ -41,9 +41,7 @@ class PlexSource(Source):
default=True, default=True,
help_text=_("Allow friends to authenticate, even if you don't share a server."), help_text=_("Allow friends to authenticate, even if you don't share a server."),
) )
plex_token = models.TextField( plex_token = models.TextField(help_text=_("Plex token used to check firends"))
default="", help_text=_("Plex token used to check firends")
)
@property @property
def component(self) -> str: def component(self) -> str: