You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Add support for Redis 6 auth pass [user]
(#1508)
* Add support for `auth pass user` * fix lint issues * fix typo * fix more lint issues * more lints fixes * reverse password user order * update redis-commands * Update individualCommands.js Clean code * Update individualCommands.js * Update auth.spec.js * Update index.js Co-authored-by: Leibale Eidelman <leibale1998@gmail.com>
This commit is contained in:
@@ -61,7 +61,7 @@ describe('client authentication', function () {
|
||||
});
|
||||
var tmp = client.command_queue.get(0).callback;
|
||||
client.command_queue.get(0).callback = function (err, res) {
|
||||
client.auth = function (pass, callback) {
|
||||
client.auth = function (pass, user, callback) {
|
||||
callback(null, 'retry worked');
|
||||
};
|
||||
tmp(new Error('ERR redis is still LOADING'));
|
||||
|
Reference in New Issue
Block a user