summaryrefslogtreecommitdiffstats
path: root/doc/authfs.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/authfs.md')
-rw-r--r--doc/authfs.md7
1 files changed, 1 insertions, 6 deletions
diff --git a/doc/authfs.md b/doc/authfs.md
index c3d0488..77545e2 100644
--- a/doc/authfs.md
+++ b/doc/authfs.md
@@ -3,7 +3,6 @@
`users/`
`<username>/`
`passwd`
- `passwdhash`
`login`
`sessions/`
`<id>/`
@@ -11,16 +10,12 @@
`/users/<username>/` (d)
To add a user, create the `<username>/` subdirectory. Authfs
-automatically creates the `passwd`, `passwd`, and `login` files
+automatically creates the `passwd`, and `login` files
inside. Initially the password is nil and login is disabled.
`/users/<username>/passwd` (w)
Writing a (cleartext) password changes the user's password.
-`/users/<username>/passwdhash` (r)
-Read returns an Argon2id hash of the user's password (see
-github.com/alexedwards/argon2id).
-
`/users/<username>/login` (rw)
To log in and obtain a session, write the user's password to `login`
(in cleartext). Then read from `login`. If the password was correct,