Removed single character subscription vulnerability
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
Meteor.publish("singleCharacter", function(characterId, userId){
|
Meteor.publish("singleCharacter", function(characterId){
|
||||||
|
userId = this.userId;
|
||||||
var char = Characters.findOne({
|
var char = Characters.findOne({
|
||||||
_id: characterId,
|
_id: characterId,
|
||||||
$or: [
|
$or: [
|
||||||
|
|||||||
Reference in New Issue
Block a user