mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-27 17:54:11 +00:00
fix(cloudcmd) algo, value -> value, algo
This commit is contained in:
parent
305fa8a7f4
commit
c0e193726e
2 changed files with 2 additions and 2 deletions
|
|
@ -67,7 +67,7 @@
|
|||
break;
|
||||
case 'password':
|
||||
/* could be useful when used as middleware */
|
||||
value = createPass(config('algo'), value);
|
||||
value = createPass(value, config('algo'));
|
||||
break;
|
||||
case 'prefix':
|
||||
prefix = prefixer(value);
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@
|
|||
var algo = manage('algo');
|
||||
|
||||
if (json && json.password)
|
||||
json.password = password(algo, json.password);
|
||||
json.password = password(json.password, algo);
|
||||
}
|
||||
|
||||
})();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue