[twitter] fix login with username & password

It is no longer possible to get an 'authenticity_token' from Twitter's
Javascript-free login form, which got disabled few days ago.

Generating a random 16 byte hex string client-side and sending that as
a cookie alongside the regular login form works just as well.
This commit is contained in:
Mike Fährmann
2020-12-28 15:54:47 +01:00
parent d1903589a5
commit b656b829db
3 changed files with 17 additions and 16 deletions

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.16.1"
__version__ = "1.16.2-dev"