mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-10-09 09:50:09 +08:00
Show nopass flag in ACL LIST command
This commit is contained in:
@@ -275,6 +275,10 @@ func (p Plugin) handleList(ctx context.Context, cmd []string, server utils.Serve
|
||||
} else {
|
||||
s += " off"
|
||||
}
|
||||
// NoPassword
|
||||
if user.NoPassword {
|
||||
s += " nopass"
|
||||
}
|
||||
// Passwords
|
||||
for _, password := range user.Passwords {
|
||||
if strings.EqualFold(password.PasswordType, "plaintext") {
|
||||
|
Reference in New Issue
Block a user