Skip to content

Commit 5dc2866

Browse files
committed
chore: fix typo
1 parent 4b63338 commit 5dc2866

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎internal/bootstrap/app_bootstrap.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func (app *BootstrapApp) Setup() error {
181181
Title: app.Config.Title,
182182
GenericName: app.Config.GenericName,
183183
Domain: domain,
184-
ForgotPasswordMessage: app.Config.FogotPasswordMessage,
184+
ForgotPasswordMessage: app.Config.ForgotPasswordMessage,
185185
BackgroundImage: app.Config.BackgroundImage,
186186
OAuthAutoRedirect: app.Config.OAuthAutoRedirect,
187187
}, apiRouter)

‎internal/config/config.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ type Config struct {
4444
Title string `mapstructure:"app-title"`
4545
LoginTimeout int `mapstructure:"login-timeout"`
4646
LoginMaxRetries int `mapstructure:"login-max-retries"`
47-
FogotPasswordMessage string `mapstructure:"forgot-password-message"`
47+
ForgotPasswordMessage string `mapstructure:"forgot-password-message"`
4848
BackgroundImage string `mapstructure:"background-image" validate:"required"`
4949
LdapAddress string `mapstructure:"ldap-address"`
5050
LdapBindDN string `mapstructure:"ldap-bind-dn"`

0 commit comments

Comments
 (0)