diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-07-03 07:35:09 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-07-03 07:35:09 +0000 |
commit | 6d5281958b491155f0c79881ac7ddbdcd137bf20 (patch) | |
tree | 247ac54fdeae6426a44b8665026df1500882927d /protocols/MSN/src/msn_auth.cpp | |
parent | 643d8dde868bee26748d36ad8533a52b7d7b9b06 (diff) |
Open Browser Window with auth in every case when there is HTTP 200.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14481 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_auth.cpp')
-rw-r--r-- | protocols/MSN/src/msn_auth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_auth.cpp b/protocols/MSN/src/msn_auth.cpp index 417acf320f..17b18abb11 100644 --- a/protocols/MSN/src/msn_auth.cpp +++ b/protocols/MSN/src/msn_auth.cpp @@ -901,7 +901,7 @@ int CMsnProto::MSN_AuthOAuth(void) else {
/* There may be a problem with login, i.e. M$ security measures. Open up browser
* window with same URL in order to let user correct this */
- if (nlhrReply->resultCode == 200 && nlhrReply->pData && strstr(nlhrReply->pData, "ar/cancel")) {
+ if (nlhrReply->resultCode == 200 && nlhrReply->pData) {
url.Format("https://login.live.com/oauth20_authorize.srf?%s", pszPostParams);
Utils_OpenUrl(url);
}
|