mirror of https://github.com/BOINC/boinc.git
- MGR: Add some basic validation for account manager cookie detection.
clientgui/ browser.cpp svn path=/trunk/boinc/; revision=18293
This commit is contained in:
parent
302f0e8d8d
commit
45b7b302d0
|
@ -5068,3 +5068,9 @@ Rom 4 June 2009
|
|||
|
||||
clientgui/
|
||||
browser.cpp, .h
|
||||
|
||||
Rom 4 June 2009
|
||||
- MGR: Add some basic validation for account manager cookie detection.
|
||||
|
||||
clientgui/
|
||||
browser.cpp
|
||||
|
|
|
@ -699,8 +699,9 @@ bool detect_account_manager_credentials(
|
|||
detect_cookie_firefox_2(project_url, strCookiePasswordHash, password_hash) ) goto END;
|
||||
|
||||
END:
|
||||
// TODO: validation
|
||||
retval = true;
|
||||
if (!login.empty() && !password_hash.empty()) {
|
||||
retval = true;
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue