forked from wikimedia/pywikibot
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Tokens: Return the csrf token, when such a token is requested
With the new token system, most of the token names are now 'csrf' tokens. So if the token name is unknown it uses a csrf token, but it still looks for the original token name, which is of course not present. Change-Id: I38e326c0f5382a585fba11bc6cbfba1a3dffaca5
- Loading branch information
Showing
1 changed file
with
8 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters