~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more consistent language use in docs
[disorder]
/
lib
/
cookies.c
diff --git
a/lib/cookies.c
b/lib/cookies.c
index
585fd7e
..
425b84c
100644
(file)
--- 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 = "";
}
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. */
return 0;
/* construct the expected subject. We re-encode the timestamp and the
* password. */