mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Update token handling for MediaWiki API change"
This commit is contained in:
commit
15efa202a2
|
@ -165,7 +165,7 @@ class ApiVisualEditorEdit extends ApiVisualEditor {
|
|||
}
|
||||
|
||||
public function needsToken() {
|
||||
return true;
|
||||
return 'csrf';
|
||||
}
|
||||
|
||||
public function getTokenSalt() {
|
||||
|
|
Loading…
Reference in a new issue