Authentication fails: authentication file location undefined
Authentication requires a file (mypath in example), that resides in unknown location (current dir? which one?). So, look at the string, when we edit the file: (in function static auth_result htpasswd_deleteuser(auth_t *auth, const char *username)):
sprintf(tmpfile, ".%s.tmp", state->filename);
we are adding a dot. it is not correct, because location of the file is not known. if I put the full path, I can get strange result, yeh?