X-Git-Url: https://git.distorted.org.uk/~mdw/chopwood/blobdiff_plain/ba8f1b92a88a064504ea55ac568634c56707d96c..7d41b86a3d323404887ee58eb67a97c66fdf870b:/list.fhtml?ds=sidebyside
diff --git a/list.fhtml b/list.fhtml
index 3753313..0fb5faf 100644
--- a/list.fhtml
+++ b/list.fhtml
@@ -48,13 +48,16 @@
FORMS.acct = {
elts: ['list'],
check: function () { return null; }
- }
+ }~={allowop.set}:[
+
+ // Password setting is forbidden, so here's a stub function.
+ function check_partial_passwd() { return null; }~;~]
-->
-
Set a new password
+~={allowop.set}:[~;
Set a new password
@@ -92,9 +95,9 @@
return null;
}
}
--->
+-->~2%~]~
-Generate a new password
+~={allowop.reset}:[~;Generate a new password
OK
@@ -104,9 +107,9 @@
return check_accounts() || check_partial_passwd();
}
}
--->
+-->~2%~]~
-Clear the existing passwords
+~={allowop.clear}:[~;Clear the existing passwords
OK
@@ -116,7 +119,7 @@
return check_accounts() || check_partial_passwd();
}
}
--->
+-->~2%~]~
@@ -125,4 +128,12 @@
+Log out of Chopwood
+
+
+
~1[~]~
|