-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.0.0-a1
-
None
When you start permanently mutli-clicking Subscribe/Unsubscribe button for webpush notifications in UCP, console got spammed by numerous errors like:
POST https://area51.phpbb.com/phpBB/user/push/subscribe 400 (Bad Request)
|
subscribeButtonHandler @ webpush.js?assets_version=2517:173
|
webpush.js?assets_version=2517:207
|
POST https://area51.phpbb.com/phpBB/user/push/unsubscribe 400 (Bad Request)
|
Server response on those errors is:
{"message":"The submitted form was invalid. Try submitting again."}
|
which apparently comes from \phpbb\ucp\controller\webpush.php function check_subscribe_requests().