Commit 02b0b9a0 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Show disabled idps

parent 68fcd2de
......@@ -112,6 +112,9 @@ class OIDCConfig(db_models.Model):
return self.oidc_client.provider_info
def __str__(self):
if not self.enabled:
return '{} (disabled)'.format(self.name)
return self.name
def get_auth_request(self, state, nonce):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment