mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
Web: add CheckRedirect to pages using baselogin.html
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
CI / Test and deploy (push) Has been cancelled
CI / Test build flags (push) Has been cancelled
CI / Test with PgSQL/MySQL/Cockroach (push) Has been cancelled
CI / Build Linux packages (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Docker / Build (push) Has been cancelled
Some checks failed
Code scanning - action / CodeQL-Build (push) Has been cancelled
CI / Test and deploy (push) Has been cancelled
CI / Test build flags (push) Has been cancelled
CI / Test with PgSQL/MySQL/Cockroach (push) Has been cancelled
CI / Build Linux packages (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Docker / Build (push) Has been cancelled
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
b23e67ae6a
commit
5cb1b9c1e9
2 changed files with 22 additions and 18 deletions
|
@ -79,6 +79,7 @@ type twoFactorPage struct {
|
|||
RecoveryURL string
|
||||
Title string
|
||||
Branding UIBranding
|
||||
CheckRedirect bool
|
||||
}
|
||||
|
||||
type forgotPwdPage struct {
|
||||
|
@ -89,6 +90,7 @@ type forgotPwdPage struct {
|
|||
LoginURL string
|
||||
Title string
|
||||
Branding UIBranding
|
||||
CheckRedirect bool
|
||||
}
|
||||
|
||||
type resetPwdPage struct {
|
||||
|
@ -99,6 +101,7 @@ type resetPwdPage struct {
|
|||
LoginURL string
|
||||
Title string
|
||||
Branding UIBranding
|
||||
CheckRedirect bool
|
||||
}
|
||||
|
||||
func getSliceFromDelimitedValues(values, delimiter string) []string {
|
||||
|
|
|
@ -263,6 +263,7 @@ type setupPage struct {
|
|||
HideSupportLink bool
|
||||
Title string
|
||||
Branding UIBranding
|
||||
CheckRedirect bool
|
||||
}
|
||||
|
||||
type folderPage struct {
|
||||
|
|
Loading…
Reference in a new issue