HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Make pockets show only to guests.

AnonymooseAnonymoose ✭✭
edited October 2012 in Feedback

Currently the pockets plugin doesn't work with the permissions settings it claims to have.

This quick fix makes pockets show only for guests, and nobody else.

Add this after line 70 in class.pocket.php to make all pockets show only for guests.

      // Check to see if guest.
      if(!Gdn::Session()->UserID == 0)
         return FALSE;
Sign In or Register to comment.