Merge pull request #1478 from aledbf/rd

Pass redirect field in login page to get a proper redirect
This commit is contained in:
Manuel Alejandro de Brito Fontes 2017-10-05 13:58:58 -04:00 committed by GitHub
commit 51248f87f3
4 changed files with 40 additions and 2 deletions

View file

@ -727,7 +727,7 @@ stream {
{{ end }}
{{ if not (empty $location.ExternalAuth.SigninURL) }}
error_page 401 = {{ $location.ExternalAuth.SigninURL }};
error_page 401 = {{ buildAuthSignURL $location.ExternalAuth.SigninURL }};
{{ end }}
{{/* if the location contains a rate limit annotation, create one */}}