mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
refactur(auth) check
This commit is contained in:
parent
cd46dd4a81
commit
356094b19c
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@
|
|||
var hash,
|
||||
name = config('username'),
|
||||
pass = config('password'),
|
||||
equal = username === name,
|
||||
algo = config('algo');
|
||||
algo = config('algo'),
|
||||
equal = username === name;
|
||||
|
||||
if (!oldPass)
|
||||
oldPass = pass;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue