Use 403 instead of 404 on /liked etc. when votes are private.

This commit is contained in:
Neil Williams
2012-05-02 21:52:26 -07:00
parent 8fb93b622a
commit c9c959d0e8

View File

@@ -616,7 +616,7 @@ class UserController(ListingController):
if (where not in ('overview', 'submitted', 'comments')
and not votes_visible(vuser)):
return self.abort404()
return self.abort403()
check_cheating('user')