X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/eb5dc014179415a0e5476e986519ac96c36221f9..5818980adea84ce4cd92a1b4549e9806c9d56c58:/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. */