X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/ba39faf632da43d64106536f256153c2092346e4..0f55e9050dd26ab8804934a188f1ee8ab8b55ffe:/lib/cookies.c diff --git a/lib/cookies.c b/lib/cookies.c index 585fd7e..425b84c 100644 --- a/lib/cookies.c +++ b/lib/cookies.c @@ -198,7 +198,7 @@ char *verify_cookie(const char *cookie, rights_type *rights) { } password = kvp_get(k, "password"); if(!password) password = ""; - if(parse_rights(kvp_get(k, "rights"), rights)) + if(parse_rights(kvp_get(k, "rights"), rights, 1)) return 0; /* construct the expected subject. We re-encode the timestamp and the * password. */