Title: [246155] trunk/Tools
Revision
246155
Author
[email protected]
Date
2019-06-06 09:34:45 -0700 (Thu, 06 Jun 2019)

Log Message

block-spammers tool doesn't block e-mail
https://bugs.webkit.org/show_bug.cgi?id=198570

Reviewed by Jonathan Bedard.

* Scripts/block-spammers: (disable_user): Corrected the parameters, Bugzilla doesn't
recognize "false" here. Also, request body is unnecessary.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (246154 => 246155)


--- trunk/Tools/ChangeLog	2019-06-06 14:50:54 UTC (rev 246154)
+++ trunk/Tools/ChangeLog	2019-06-06 16:34:45 UTC (rev 246155)
@@ -1,3 +1,13 @@
+2019-06-06  Alexey Proskuryakov  <[email protected]>
+
+        block-spammers tool doesn't block e-mail
+        https://bugs.webkit.org/show_bug.cgi?id=198570
+
+        Reviewed by Jonathan Bedard.
+
+        * Scripts/block-spammers: (disable_user): Corrected the parameters, Bugzilla doesn't
+        recognize "false" here. Also, request body is unnecessary.
+
 2019-06-06  Carlos Garcia Campos  <[email protected]>
 
         [GTK][WPE] Enable PSON

Modified: trunk/Tools/Scripts/block-spammers (246154 => 246155)


--- trunk/Tools/Scripts/block-spammers	2019-06-06 14:50:54 UTC (rev 246154)
+++ trunk/Tools/Scripts/block-spammers	2019-06-06 16:34:45 UTC (rev 246155)
@@ -85,8 +85,7 @@
 
 def disable_user(user_id, reason):
     response = requests.put('https://bugs.webkit.org/rest/user/' + str(user_id),
-        json={'email_enabled': False, 'login_denied_text': reason},
-        params = {'email_enabled': False, 'login_denied_text': reason, 'token': bugzilla_token})
+        params = {'email_enabled': 0, 'login_denied_text': reason, 'token': bugzilla_token})
     response.raise_for_status()
 
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to