better cookie building

darcs-hash:20080624033223-34904-39ffa0aebcb9d173a7e5dd09870681ebb6e7313d.gz
This commit is contained in:
Evan Prodromou 2008-06-23 23:32:23 -04:00
parent fcd473a1a3
commit 25a6f240a4

View File

@ -464,7 +464,7 @@ function common_rememberme() {
return false; return false;
} }
common_set_cookie(REMEMBERME, common_set_cookie(REMEMBERME,
$rm->user_id . ':' . $rm->code, implode(':', array($rm->user_id, $rm->code)),
time() + REMEMBERME_EXPIRY); time() + REMEMBERME_EXPIRY);
} }