args: add arg to disable api auth (for development!)
a long flag to type out, that requires debug to be enabled and results in a prompt to confirm your action.
This commit is contained in:
@@ -281,6 +281,7 @@ const (
|
||||
External = "external"
|
||||
RegisterPprof = "Registered pprof"
|
||||
SwaggerWarning = "Warning: Swagger should not be used on a public instance."
|
||||
NoAPIAuthPrompt = `Disabling API auth is dangerous, only use locally for development. Disable it? [y/n]: `
|
||||
|
||||
// storage.go
|
||||
ConnectDB = "Connected to DB \"%s\""
|
||||
|
||||
Reference in New Issue
Block a user