ref: 7a4ca049365314b810b690eaad4c44e260ebc63d
parent: 4da1d650394d98019515bec198ad7ddc803af1d3
author: uriel <[email protected]>
date: Sat Mar 14 10:32:22 EDT 2009
Add comment on auth docs to review in the futre.
--- a/bin/werclib.rc
+++ b/bin/werclib.rc
@@ -14,6 +14,7 @@
fn template { awk -f bin/template.awk $* | rc $rcargs }
# Auth code
+# TODO: check http://cookies.lcs.mit.edu/pubs/webauth:tr.pdf
allowed_user_chars='[a-zA-Z0-9_]'
# Cookie format: WERC_USER: name:timestamp:hash(name.timestamp.password)
# login_user can't be used from a template because it sets a cookie