Repository navigation
htpasswd users, managed from a list
The htpasswd login method's users text box is replaced by a list: add a user with a name or email and a password, change a user's password, or delete a user.
- Passwords are hashed in the browser. Only the
name:hashlines are sent, when you save the page. - New hashes are bcrypt labelled
$2a$, the only bcrypt label Filestash's htpasswd plugin accepts. - Existing users keep their hashes (
$6$,$apr1$,{SHA}and the rest) until their password is changed. Comments, blank lines and/etc/shadowfields are kept as they were. - Names are matched exactly by Filestash, so the form warns when a new name differs from an existing one only by upper/lower case.
- A notice shows while user changes are unsaved.
For contributors
compose.yaml runs a stock Filestash on http://localhost:18334 (admin password admin). npm run stack:up starts it, npm run stack:dev points the dev server at it, and npm run stack:plugin installs the built plugin into it. See the README.
Install: download admin_svelte.zip below into data/state/plugins/ and restart Filestash.