Pass redirect field in login page to get a proper redirect

This commit is contained in:
Manuel de Brito Fontes 2017-10-05 01:55:42 -03:00
parent 23916be991
commit 23af068e17
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 */}}