diff --git a/authentik/sources/plex/migrations/0003_alter_plexsource_plex_token.py b/authentik/sources/plex/migrations/0003_alter_plexsource_plex_token.py new file mode 100644 index 000000000..f3a9e6a0b --- /dev/null +++ b/authentik/sources/plex/migrations/0003_alter_plexsource_plex_token.py @@ -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"), + ), + ] diff --git a/authentik/sources/plex/models.py b/authentik/sources/plex/models.py index ed87502a9..9953cd290 100644 --- a/authentik/sources/plex/models.py +++ b/authentik/sources/plex/models.py @@ -41,9 +41,7 @@ class PlexSource(Source): default=True, help_text=_("Allow friends to authenticate, even if you don't share a server."), ) - plex_token = models.TextField( - default="", help_text=_("Plex token used to check firends") - ) + plex_token = models.TextField(help_text=_("Plex token used to check firends")) @property def component(self) -> str: