Add a display field to Identity Providers

This commit is contained in:
Valentin Samir
2016-07-04 17:40:31 +02:00
parent aa433d3c58
commit b0a07efe41
9 changed files with 119 additions and 74 deletions

View File

@ -75,6 +75,11 @@ class FederatedIendityProvider(models.Model):
)
)
)
display = models.BooleanField(
default=True,
verbose_name=_(u"display"),
help_text=_("Display the provider on the login page")
)
def __str__(self):
return self.verbose_name