flounder

A simple gemini site builder
Log | Files | Refs | README | LICENSE

commit 4e07f8b93e95ef8ed5c05e9d771b290a7996915f
parent 16155bf510067f53cb4387236c6c96c1f6429029
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun,  6 Dec 2020 11:44:32 -0800

Add notes

Diffstat:
MREADME.md | 2+-
Madmin.go | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md @@ -31,6 +31,6 @@ To make yourself an admin, create a user through the web browser, then run `./fl Backup your users' data regularly! The admin deletion commands are irreversible. -Flounder comes with an admin panel accessible to users with the admin db flag set. +Flounder comes with an admin panel accessible to users with the admin db flag set. Admins can also impersonate users if you need to take actions like moderating their content, deleting their account, changing their password, etc. You can also manage users directly through the sqlite database. diff --git a/admin.go b/admin.go @@ -41,7 +41,7 @@ func runAdminCommand() { username := args[2] newUsername := args[3] err = renameUser(username, newUsername) - case "set-password": + case "set-password": // TODO FIX -- broken atm username := args[2] fmt.Print("Enter New Password: ") bytePassword, err := terminal.ReadPassword(int(syscall.Stdin))