0001-auth_oidc-remove-filter-on-show-True-in-has_provider.patch
src/authentic2_auth_oidc/utils.py | ||
---|---|---|
40 | 40 |
@GlobalCache(timeout=TIMEOUT) |
41 | 41 |
def has_providers(): |
42 | 42 |
from . import models |
43 |
return models.OIDCProvider.objects.filter(show=True).exists()
|
|
43 |
return models.OIDCProvider.objects.exists() |
|
44 | 44 | |
45 | 45 | |
46 | 46 |
@GlobalCache(timeout=TIMEOUT) |
47 |
- |