Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

[fix] Check for key app on authorization #626

Merged
merged 2 commits into from
Jan 23, 2021
Merged

Conversation

rennokki
Copy link
Collaborator

@rennokki rennokki commented Dec 1, 2020

It does better by searching for a key instead of a secret.

Closes #622

@lovetoast
Copy link

Unless I'm mistaken, this only checks in the statistics modules?

@rennokki
Copy link
Collaborator Author

rennokki commented Dec 2, 2020

@lovetoast It's a middleware that's used in sending events.

@lovetoast
Copy link

@rennokki I thought so, but I tested it and it still allowed the request through, so I also just put a die() in this function and it still allowed it through, there must be somewhere else?

@lovetoast
Copy link

events

Merry Christmas! I tried this again, but pretty sure it is not the write place, and I was not able to find the correct place for the APP KEY code.

@rennokki rennokki merged commit e9b9cc4 into master Jan 23, 2021
@rennokki rennokki deleted the fix/check-app-key branch January 23, 2021 14:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP pusher library can connect without valid appkey
2 participants