feat(security): #286 implement csrf middleware
This commit is contained in:
@@ -77,8 +77,8 @@ func NewSettingsFromEnv(env func(string) string) *Settings {
|
||||
log.Fatal("SMTP and Prometheus must be enabled in production")
|
||||
}
|
||||
|
||||
log.Info("BASE_URL is %v", settings.BaseUrl)
|
||||
log.Info("ENVIRONMENT is %v", settings.Environment)
|
||||
log.Info("BASE_URL is %q", settings.BaseUrl)
|
||||
log.Info("ENVIRONMENT is %q", settings.Environment)
|
||||
|
||||
return settings
|
||||
}
|
||||
Reference in New Issue
Block a user