Skip to content

Commit

Permalink
mod_push: "don't forget" to update the secret...
Browse files Browse the repository at this point in the history
  • Loading branch information
maranda committed May 7, 2018
1 parent 862e4b4 commit 7927b34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/mod_push.lua
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ module:hook("iq-set/self/"..push_xmlns..":enable", function(event)
store[app_server] = { nodes = {}, secret = secret };
store[app_server].nodes[node] = true;
else
store[app_server].secret = secret;
store[app_server].nodes[node] = true;
end
store_cache[user] = store;
Expand Down

0 comments on commit 7927b34

Please sign in to comment.