Skip to content
Permalink
Browse files

stop giving a 401 error when not logged in

  • Loading branch information...
vagrant
vagrant committed May 21, 2019
1 parent 5882c6b commit 0ca66133c9fa11ba5d917369aaecbc793c9536f0
Showing with 5 additions and 1 deletion.
  1. +5 −1 public-api/vx/node.php
@@ -497,7 +497,11 @@
}
}
else {
json_EmitFatalError_Permission(null, $RESPONSE);
// This emits a 401 error that confuses some users
//json_EmitFatalError_Permission(null, $RESPONSE);
// To stop confusing people who look at the console, lets just say the un-logged in user has authored nothing
$RESPONSE['what'] = [];
}
break; //case 'what': //node/what

0 comments on commit 0ca6613

Please sign in to comment.
You can’t perform that action at this time.