Make DisableAuthentication a Dev flag

This commit is contained in:
Deluan
2020-01-11 13:03:31 -05:00
committed by Deluan Quintão
parent 408030eb6c
commit 5acc9c7a22
4 changed files with 7 additions and 7 deletions
+4 -4
View File
@@ -15,9 +15,8 @@ type sonic struct {
IgnoredArticles string `default:"The El La Los Las Le Les Os As O A"`
IndexGroups string `default:"A B C D E F G H I J K L M N O P Q R S T U V W X-Z(XYZ) [Unknown]([)"`
DisableAuthentication bool `default:"false"`
User string `default:"anyone"`
Password string `default:"wordpass"`
User string `default:"anyone"`
Password string `default:"wordpass"`
DisableDownsampling bool `default:"false"`
DownsampleCommand string `default:"ffmpeg -i %s -map 0:0 -b:a %bk -v 0 -f mp3 -"`
@@ -25,7 +24,8 @@ type sonic struct {
PlsIgnoredPatterns string `default:"^iCloud;\\~"`
// DevFlags
DevDisableFileCheck bool `default:"false"`
DevDisableAuthentication bool `default:"false"`
DevDisableFileCheck bool `default:"false"`
}
var Sonic *sonic