mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 10:48:17 +00:00
Merge "Update token handling for core API change"
This commit is contained in:
commit
0d74309d09
|
@ -66,7 +66,7 @@ class ApiAbuseFilterUnblockAutopromote extends ApiBase {
|
|||
}
|
||||
|
||||
public function needsToken() {
|
||||
return true;
|
||||
return 'csrf';
|
||||
}
|
||||
|
||||
public function getTokenSalt() {
|
||||
|
|
Loading…
Reference in a new issue