Fix auth problems on passworded shares, fixing ticket #205

This commit is contained in:
Ron Pedde 2006-10-27 20:26:10 +00:00
parent 1528165250
commit 3d352427f6
1 changed files with 2 additions and 0 deletions

View File

@ -201,6 +201,8 @@ int plugin_auth(WS_CONNINFO *pwsc, char *username, char *password) {
return TRUE;
if(strncasecmp(uri,"/logout",7) == 0)
return TRUE;
if(strncasecmp(uri,"/databases/1/items/",19) == 0)
return TRUE;
readpassword = _ppi->conf_alloc_string("general","password",NULL);
if(password == NULL) { /* testing to see if we need a pw */