-
Notifications
You must be signed in to change notification settings - Fork 45
Closed
Description
When calling pycaching.login(), you get the error "pycaching.errors.LoginFailedException: Cannot login to the site (probably wrong username or password)." This appears to be due to a change on the geocaching.com login website.
The fix is to change login() in geocaching.py to use the new POST data:
post = {
"UsernameOrEmail": username, # 13-oct-18 was "Username"
"Password": password,
token_field_name: token_value
}