mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-28 04:35:40 +00:00
chore: fix typo
This commit is contained in:
@@ -181,7 +181,7 @@ func (app *BootstrapApp) Setup() error {
|
|||||||
Title: app.Config.Title,
|
Title: app.Config.Title,
|
||||||
GenericName: app.Config.GenericName,
|
GenericName: app.Config.GenericName,
|
||||||
Domain: domain,
|
Domain: domain,
|
||||||
ForgotPasswordMessage: app.Config.FogotPasswordMessage,
|
ForgotPasswordMessage: app.Config.ForgotPasswordMessage,
|
||||||
BackgroundImage: app.Config.BackgroundImage,
|
BackgroundImage: app.Config.BackgroundImage,
|
||||||
OAuthAutoRedirect: app.Config.OAuthAutoRedirect,
|
OAuthAutoRedirect: app.Config.OAuthAutoRedirect,
|
||||||
}, apiRouter)
|
}, apiRouter)
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ type Config struct {
|
|||||||
Title string `mapstructure:"app-title"`
|
Title string `mapstructure:"app-title"`
|
||||||
LoginTimeout int `mapstructure:"login-timeout"`
|
LoginTimeout int `mapstructure:"login-timeout"`
|
||||||
LoginMaxRetries int `mapstructure:"login-max-retries"`
|
LoginMaxRetries int `mapstructure:"login-max-retries"`
|
||||||
FogotPasswordMessage string `mapstructure:"forgot-password-message"`
|
ForgotPasswordMessage string `mapstructure:"forgot-password-message"`
|
||||||
BackgroundImage string `mapstructure:"background-image" validate:"required"`
|
BackgroundImage string `mapstructure:"background-image" validate:"required"`
|
||||||
LdapAddress string `mapstructure:"ldap-address"`
|
LdapAddress string `mapstructure:"ldap-address"`
|
||||||
LdapBindDN string `mapstructure:"ldap-bind-dn"`
|
LdapBindDN string `mapstructure:"ldap-bind-dn"`
|
||||||
|
|||||||
Reference in New Issue
Block a user