Add notes
alex wennerberg alex@alexwennerberg.com
Sun, 06 Dec 2020 11:44:32 -0800
M
README.md
→
README.md
@@ -31,6 +31,6 @@ To make yourself an admin, create a user through the web browser, then run `./flounder -c [config_path] make-admin [your user]` -- this gives you access to admin tools to manage users.
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.
M
admin.go
→
admin.go
@@ -41,7 +41,7 @@ case "rename-user":
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))