mirror of
https://github.com/fluencelabs/redis
synced 2025-06-16 18:51:20 +00:00
ACL: when client->user is NULL the client is a superuser.
Related to #5832.
This commit is contained in:
@ -1800,7 +1800,7 @@ sds catClientInfoString(sds s, client *client) {
|
|||||||
(unsigned long long) getClientOutputBufferMemoryUsage(client),
|
(unsigned long long) getClientOutputBufferMemoryUsage(client),
|
||||||
events,
|
events,
|
||||||
client->lastcmd ? client->lastcmd->name : "NULL",
|
client->lastcmd ? client->lastcmd->name : "NULL",
|
||||||
client->user ? client->user->name : "");
|
client->user ? client->user->name : "(superuser)");
|
||||||
}
|
}
|
||||||
|
|
||||||
sds getAllClientsInfoString(int type) {
|
sds getAllClientsInfoString(int type) {
|
||||||
|
Reference in New Issue
Block a user