auth_saml : fix saml login with no providers
Closed this issue · 3 comments
FlorianDesp commented
Module
auth_saml
Describe the bug
Traceback when trying to access /web/login without auth_oauth module installed
To Reproduce
Affected versions: 15.0
Steps to reproduce the behavior:
- Install auth_saml and ensure that auth_oauth is not installed
- Configure a saml provider
- Go back to web/login
Related commit in which variables were renamed : 0dd018b
Fixed this on my locahost by changing this :
<em
t-attf-class="d-block text-center text-muted small my-#{len(providers) if len(providers) < 3 else 3}"
>- or -</em>
by
<em
t-attf-class="d-block text-center text-muted small my-#{len(saml_providers) if len(saml_providers) < 3 else 3}"
>- or -</em>
vincent-hatakeyama commented
Reproduced on runboat.
vincent-hatakeyama commented
Just checked, that does not apply to 16.0, the merged fix is already present for version 16.0.
I don’t have the right to change the issue, but it should be changed to solved.
FlorianDesp commented
THX