diff --git a/internal/httpd/web.go b/internal/httpd/web.go index d4bc68f5..35b2cd7b 100644 --- a/internal/httpd/web.go +++ b/internal/httpd/web.go @@ -73,32 +73,35 @@ type loginPage struct { type twoFactorPage struct { commonBasePage - CurrentURL string - Error *util.I18nError - CSRFToken string - RecoveryURL string - Title string - Branding UIBranding + CurrentURL string + Error *util.I18nError + CSRFToken string + RecoveryURL string + Title string + Branding UIBranding + CheckRedirect bool } type forgotPwdPage struct { commonBasePage - CurrentURL string - Error *util.I18nError - CSRFToken string - LoginURL string - Title string - Branding UIBranding + CurrentURL string + Error *util.I18nError + CSRFToken string + LoginURL string + Title string + Branding UIBranding + CheckRedirect bool } type resetPwdPage struct { commonBasePage - CurrentURL string - Error *util.I18nError - CSRFToken string - LoginURL string - Title string - Branding UIBranding + CurrentURL string + Error *util.I18nError + CSRFToken string + LoginURL string + Title string + Branding UIBranding + CheckRedirect bool } func getSliceFromDelimitedValues(values, delimiter string) []string { diff --git a/internal/httpd/webadmin.go b/internal/httpd/webadmin.go index 9d367f20..c71e1f5e 100644 --- a/internal/httpd/webadmin.go +++ b/internal/httpd/webadmin.go @@ -263,6 +263,7 @@ type setupPage struct { HideSupportLink bool Title string Branding UIBranding + CheckRedirect bool } type folderPage struct {