This commit is contained in:
2021-08-31 02:56:58 +03:00
parent c3891a8614
commit 2c6608ae5c
3 changed files with 2 additions and 11 deletions
@@ -35,7 +35,7 @@ object VKAuth {
) = "https://oauth.vk.com/token?grant_type=password&" +
"client_id=${VKConstants.VK_APP_ID}&" +
"scope=$settings&" +
"client_secret=${BuildConfig.vkSecret}&" +
"client_secret=${VKConstants.VK_SECRET}&" +
"username=$login&" +
"password=$password" +
(if (captchaSid == null || captchaKey == null) "" else "&captcha_sid=$captchaSid&captcha_key=$captchaKey") +
@@ -8,4 +8,5 @@ object VKConstants {
"photo_50,photo_100,photo_200,status,screen_name,online,online_mobile,last_seen,verified,sex"
const val VK_APP_ID = "2274003"
const val VK_SECRET = "hHbZxrka2uZ6jB1inYsH"
}