feat: add custom forgot password message

This commit is contained in:
Stavros
2025-04-23 14:31:31 +03:00
parent bedef0bbf2
commit db43f1cb7a
13 changed files with 81 additions and 33 deletions

View File

@@ -32,16 +32,18 @@ type Config struct {
EnvFile string `mapstructure:"env-file"`
LoginTimeout int `mapstructure:"login-timeout"`
LoginMaxRetries int `mapstructure:"login-max-retries"`
FogotPasswordMessage string `mapstructure:"forgot-password-message" validate:"required"`
}
// Server configuration
type HandlersConfig struct {
AppURL string
Domain string
CookieSecure bool
DisableContinue bool
GenericName string
Title string
AppURL string
Domain string
CookieSecure bool
DisableContinue bool
GenericName string
Title string
ForgotPasswordMessage string
}
// OAuthConfig is the configuration for the providers