Skip to content
Snippets Groups Projects
Commit b55fa1f5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't mention user.dat in comment

parent 248d2d06
No related branches found
No related tags found
No related merge requests found
......@@ -1793,7 +1793,7 @@ static BOOL digest_authentication(http_session_t* session, int auth_allowed, use
MD5_close(&ctx, digest);
MD5_hex(ha2, digest);
/* Check password as in user.dat */
/* Check password as in user base */
calculate_digest(session, ha1, ha2, digest);
if(thisuser.pass[0]) { // Zero-length password is "special" (any password will work)
if(memcmp(digest, session->req.auth.digest, sizeof(digest))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment