Merge pull request #1478 from aledbf/rd
Pass redirect field in login page to get a proper redirect
This commit is contained in:
commit
51248f87f3
4 changed files with 40 additions and 2 deletions
|
|
@ -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 */}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue