From c9bb3ba2e4168cf660b673be25e5c5ab9535ed0c Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Fri, 20 Oct 2017 18:24:25 +0200 Subject: [PATCH] Remove obsolete UseAPIKey value (#8) --- cmd/ursrv/main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/ursrv/main.go b/cmd/ursrv/main.go index f8c10c53d..426254f1c 100644 --- a/cmd/ursrv/main.go +++ b/cmd/ursrv/main.go @@ -162,7 +162,6 @@ type report struct { Enabled int UseTLS int UseAuth int - UseAPIKey int InsecureAdminAccess int Debugging int InsecureSkipHostCheck int @@ -245,7 +244,7 @@ func (r *report) FieldPointers() []interface{} { &r.FolderUsesV3.PullOrder, &r.FolderUsesV3.FilesystemType, &r.GUIStats.Enabled, &r.GUIStats.UseTLS, &r.GUIStats.UseAuth, - &r.GUIStats.UseAPIKey, &r.GUIStats.InsecureAdminAccess, + &r.GUIStats.InsecureAdminAccess, &r.GUIStats.Debugging, &r.GUIStats.InsecureSkipHostCheck, &r.GUIStats.InsecureAllowFrameLoading, &r.GUIStats.ListenLocal, &r.GUIStats.ListenUnspecified, &r.GUIStats.Theme, @@ -343,7 +342,6 @@ func (r *report) FieldNames() []string { "GUIEnabled", "GUIUseTLS", "GUIUseAuth", - "GUIUseAPIKey", "GUIInsecureAdminAccess", "GUIDebugging", "GUIInsecureSkipHostCheck", @@ -495,7 +493,6 @@ func setupDB(db *sql.DB) error { ADD COLUMN GUIEnabled INTEGER NOT NULL DEFAULT 0, ADD COLUMN GUIUseTLS INTEGER NOT NULL DEFAULT 0, ADD COLUMN GUIUseAuth INTEGER NOT NULL DEFAULT 0, - ADD COLUMN GUIUseAPIKey INTEGER NOT NULL DEFAULT 0, ADD COLUMN GUIInsecureAdminAccess INTEGER NOT NULL DEFAULT 0, ADD COLUMN GUIDebugging INTEGER NOT NULL DEFAULT 0, ADD COLUMN GUIInsecureSkipHostCheck INTEGER NOT NULL DEFAULT 0,