mozilla / fxa-auth-server

DEPRECATED - Migrated to https://github.com/mozilla/fxa
Mozilla Public License 2.0
399 stars 121 forks source link

Fix for #2936 #2952

Closed hybrid1999 closed 5 years ago

hybrid1999 commented 5 years ago

I changed lines 157, 158 and used the ".with(peers)" endpoint in JOI to ensure that when pushCallback is present, the other two are present as well.

Fixes #2936

vladikoff commented 5 years ago

We are doing this as part of https://github.com/mozilla/fxa-auth-server/pull/2937#discussion_r266279727