mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-02 11:58:28 +00:00
Remove obsolete UseAPIKey value (#8)
This commit is contained in:
parent
b312f81e21
commit
c9bb3ba2e4
@ -162,7 +162,6 @@ type report struct {
|
|||||||
Enabled int
|
Enabled int
|
||||||
UseTLS int
|
UseTLS int
|
||||||
UseAuth int
|
UseAuth int
|
||||||
UseAPIKey int
|
|
||||||
InsecureAdminAccess int
|
InsecureAdminAccess int
|
||||||
Debugging int
|
Debugging int
|
||||||
InsecureSkipHostCheck int
|
InsecureSkipHostCheck int
|
||||||
@ -245,7 +244,7 @@ func (r *report) FieldPointers() []interface{} {
|
|||||||
&r.FolderUsesV3.PullOrder, &r.FolderUsesV3.FilesystemType,
|
&r.FolderUsesV3.PullOrder, &r.FolderUsesV3.FilesystemType,
|
||||||
|
|
||||||
&r.GUIStats.Enabled, &r.GUIStats.UseTLS, &r.GUIStats.UseAuth,
|
&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.Debugging, &r.GUIStats.InsecureSkipHostCheck,
|
||||||
&r.GUIStats.InsecureAllowFrameLoading, &r.GUIStats.ListenLocal,
|
&r.GUIStats.InsecureAllowFrameLoading, &r.GUIStats.ListenLocal,
|
||||||
&r.GUIStats.ListenUnspecified, &r.GUIStats.Theme,
|
&r.GUIStats.ListenUnspecified, &r.GUIStats.Theme,
|
||||||
@ -343,7 +342,6 @@ func (r *report) FieldNames() []string {
|
|||||||
"GUIEnabled",
|
"GUIEnabled",
|
||||||
"GUIUseTLS",
|
"GUIUseTLS",
|
||||||
"GUIUseAuth",
|
"GUIUseAuth",
|
||||||
"GUIUseAPIKey",
|
|
||||||
"GUIInsecureAdminAccess",
|
"GUIInsecureAdminAccess",
|
||||||
"GUIDebugging",
|
"GUIDebugging",
|
||||||
"GUIInsecureSkipHostCheck",
|
"GUIInsecureSkipHostCheck",
|
||||||
@ -495,7 +493,6 @@ func setupDB(db *sql.DB) error {
|
|||||||
ADD COLUMN GUIEnabled INTEGER NOT NULL DEFAULT 0,
|
ADD COLUMN GUIEnabled INTEGER NOT NULL DEFAULT 0,
|
||||||
ADD COLUMN GUIUseTLS INTEGER NOT NULL DEFAULT 0,
|
ADD COLUMN GUIUseTLS INTEGER NOT NULL DEFAULT 0,
|
||||||
ADD COLUMN GUIUseAuth 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 GUIInsecureAdminAccess INTEGER NOT NULL DEFAULT 0,
|
||||||
ADD COLUMN GUIDebugging INTEGER NOT NULL DEFAULT 0,
|
ADD COLUMN GUIDebugging INTEGER NOT NULL DEFAULT 0,
|
||||||
ADD COLUMN GUIInsecureSkipHostCheck INTEGER NOT NULL DEFAULT 0,
|
ADD COLUMN GUIInsecureSkipHostCheck INTEGER NOT NULL DEFAULT 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user