gevorg / htpasswd

Node.js package for HTTP Basic Authentication password file utility.
MIT License
57 stars 10 forks source link

Added utils.verifyRaw and .verifyFile #5

Closed CapacitorSet closed 9 years ago

CapacitorSet commented 9 years ago

I added utils.verifyFile and .verifyRaw, so that htpasswd can be used more easily in a script. They are essentially htpasswd --batch --verify, the former taking a string and the latter taking a filename.