Web: add CheckRedirect to pages using baselogin.html

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino
2024-10-12 12:53:26 +02:00
parent b23e67ae6a
commit 5cb1b9c1e9
2 changed files with 22 additions and 18 deletions

View File

@@ -79,6 +79,7 @@ type twoFactorPage struct {
RecoveryURL string RecoveryURL string
Title string Title string
Branding UIBranding Branding UIBranding
CheckRedirect bool
} }
type forgotPwdPage struct { type forgotPwdPage struct {
@@ -89,6 +90,7 @@ type forgotPwdPage struct {
LoginURL string LoginURL string
Title string Title string
Branding UIBranding Branding UIBranding
CheckRedirect bool
} }
type resetPwdPage struct { type resetPwdPage struct {
@@ -99,6 +101,7 @@ type resetPwdPage struct {
LoginURL string LoginURL string
Title string Title string
Branding UIBranding Branding UIBranding
CheckRedirect bool
} }
func getSliceFromDelimitedValues(values, delimiter string) []string { func getSliceFromDelimitedValues(values, delimiter string) []string {

View File

@@ -263,6 +263,7 @@ type setupPage struct {
HideSupportLink bool HideSupportLink bool
Title string Title string
Branding UIBranding Branding UIBranding
CheckRedirect bool
} }
type folderPage struct { type folderPage struct {