sources/plex: remove default for plex_token
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
c58fe18b97
commit
71d112bdcf
|
@ -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"),
|
||||||
|
),
|
||||||
|
]
|
|
@ -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:
|
||||||
|
|
Reference in New Issue