mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18:51 +02:00
fixed extra output for ls-* commands
This commit is contained in:
@@ -40,7 +40,7 @@ var (
|
||||
)
|
||||
|
||||
func init() {
|
||||
if APIJWTSecret == nil {
|
||||
if APIJWTSecret == nil && GetArgs().Command == CommandStart {
|
||||
log.Warn().Msg("API JWT secret is empty, authentication is disabled")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user