Merge branch 'quotas' of https://github.com/raintank/grafana into raintank-quotas

This commit is contained in:
Torkel Ödegaard
2015-09-15 14:23:13 +02:00
14 changed files with 1051 additions and 11 deletions
+4
View File
@@ -127,6 +127,9 @@ var (
// SMTP email settings
Smtp SmtpSettings
// QUOTA
Quota QuotaSettings
)
type CommandLineArgs struct {
@@ -458,6 +461,7 @@ func NewConfigContext(args *CommandLineArgs) error {
readSessionConfig()
readSmtpSettings()
readQuotaSettings()
if VerifyEmailEnabled && !Smtp.Enabled {
log.Warn("require_email_validation is enabled but smpt is disabled")