Frees a given user and disconnects all of the clients that have been * authenticated with it. See RM_CreateModuleUser for detailed usage.*/
| 6695 | /* Frees a given user and disconnects all of the clients that have been |
| 6696 | * authenticated with it. See RM_CreateModuleUser for detailed usage.*/ |
| 6697 | int RM_FreeModuleUser(RedisModuleUser *user) { |
| 6698 | ACLFreeUserAndKillClients(user->user); |
| 6699 | zfree(user); |
| 6700 | return REDISMODULE_OK; |
| 6701 | } |
| 6702 | |
| 6703 | /* Sets the permissions of a user created through the redis module |
| 6704 | * interface. The syntax is the same as ACL SETUSER, so refer to the |
nothing calls this directly
no test coverage detected