summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests/oauth.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/requests/oauth.h')
-rw-r--r--protocols/SkypeWeb/src/requests/oauth.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/requests/oauth.h b/protocols/SkypeWeb/src/requests/oauth.h
index 32cee1ec76..ccd9a9d2fc 100644
--- a/protocols/SkypeWeb/src/requests/oauth.h
+++ b/protocols/SkypeWeb/src/requests/oauth.h
@@ -41,6 +41,9 @@ struct OAuthRequest : public AsyncHttpRequest
AddHeader("Cookie", cookies);
+ if (auto *delim = strchr(login, ':'))
+ login = delim + 1;
+
this << CHAR_PARAM("login", login) << CHAR_PARAM("passwd", password) << CHAR_PARAM("PPFT", ppft);
}