mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=12299
This commit is contained in:
parent
cd975911a1
commit
ad0fb104f4
|
@ -25,6 +25,7 @@
|
|||
#ifndef _WIN32
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <time.h>
|
||||
#endif
|
||||
|
||||
#include "error_numbers.h"
|
||||
|
@ -282,6 +283,9 @@ bool find_project_cookie_mozilla_generic(
|
|||
// is this the right host?
|
||||
if (!strstr(host, hostname.c_str())) continue;
|
||||
|
||||
// has the cookie expired?
|
||||
if (time(0) > expires) continue;
|
||||
|
||||
// is this the right cookie?
|
||||
if (starts_with(name, "Setup")) {
|
||||
// If validation failed, null out the authenticator just in case
|
||||
|
|
Loading…
Reference in New Issue