Skip to content

Commit

Permalink
Update submit.go
Browse files Browse the repository at this point in the history
Also let bleeper auth from ima tokens
  • Loading branch information
mattylase authored Jan 12, 2024
1 parent 4db2d78 commit b36f3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ func (s *submitServer) parseRequest(w http.ResponseWriter, req *http.Request, re
delete(p.Data, "verified_device_id")
if !hasUserID {
return p
} else if p.AppName == "booper" {
} else if p.AppName == "booper" || p.AppName == "bleeper" {
if gplaySpamEmailRegex.MatchString(userID) {
log.Println("Dropping report from", userID)
w.Header().Set("Content-Type", "application/json")
Expand Down

0 comments on commit b36f3c0

Please sign in to comment.