sort out some of the authentication mess - with luck this may fix the DAV auth issue which I simply could not duplicate or find a reason for.
This commit is contained in:
@@ -170,7 +170,7 @@ class ZotOAuth1 extends OAuth1Server {
|
||||
);
|
||||
if($x) {
|
||||
require_once('include/security.php');
|
||||
authenticate_success($x[0],true,false,true,true);
|
||||
authenticate_success($x[0],null,true,false,true,true);
|
||||
$_SESSION['allow_api'] = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user