chiark / gitweb /
disorder setup-guest + docs + tests
[disorder] / lib / cookies.c
index 585fd7e7a08787979737190c9eb7f51a6bef76d5..425b84c8b91c3ea24508a59296c861ca1f1b30a3 100644 (file)
@@ -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. */