diff options
-rw-r--r-- | auth/shadow.lua | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/auth/shadow.lua b/auth/shadow.lua index 3a4a534..df0cc40 100644 --- a/auth/shadow.lua +++ b/auth/shadow.lua @@ -54,8 +54,6 @@ function db.verify_passwd(cleartext, pwhash) ]]-- local algo_salt, hash = string.match(pwhash, "^(%$%d%$[a-zA-Z0-9./]+%$)(.*)") local userhash = posix.crypt(cleartext, algo_salt) - print("user hash:", userhash) - print("db hash:", pwhash) return (pwhash == userhash) end |