We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc9704 commit c4fdff3Copy full SHA for c4fdff3
vk_api/vk_api.py
@@ -441,9 +441,8 @@ def _api_login(self):
441
if not self._sid:
442
raise AuthError('API auth error (no remixsid)')
443
444
- for cookie_name in ['p', 'l']:
445
- if not self.http.cookies.get(cookie_name, domain='.login.vk.com'):
446
- raise AuthError('API auth error (no login cookies)')
+ if not self.http.cookies.get('p', domain='.login.vk.com'):
+ raise AuthError('API auth error (no login cookies)')
447
448
response = self.http.get(
449
'https://oauth.vk.com/authorize',
0 commit comments