[fix] Remove some nginx debug log

This commit is contained in:
ljf 2018-08-29 00:56:24 +02:00
parent 945b04cc67
commit d83b522d50

View file

@ -887,7 +887,6 @@ end
-- because ldap doesn't support anything stronger than sha1 -- because ldap doesn't support anything stronger than sha1
function hash_password(password) function hash_password(password)
local hashed_password = secure_cmd_password("mkpasswd --method=sha-512 | tee -a %s", password, 0) local hashed_password = secure_cmd_password("mkpasswd --method=sha-512 | tee -a %s", password, 0)
ngx.log(ngx.STDERR, hashed_password)
hashed_password = "{CRYPT}"..hashed_password hashed_password = "{CRYPT}"..hashed_password
return hashed_password return hashed_password
end end