From c6ea2bf6fe01fc9da82b9643f4673dfc91f4e23d Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Thu, 13 May 2021 23:59:31 -0700 Subject: Managing server info added to README --- README.md | 6 ++++++ verification.go | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 206b445..05ff96b 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,12 @@ Any contributions or suggestions are appreciated. Best way to give immediate fee `emailpass:password` +### Managing the server + + To access the managment page to create new boards or subscribe to other boards, when you start the server the console will output the `Mod key` and `Admin Login` + Use the `Mod key` by appending it to your servers url, `https://fchan.xyz/[Mod key]` once there you will be prompted for the `Admin Login` credentials. + You can manage each board by appending the `Mod key` to the desired board url: `https://fchan.xyz/g/[Mod Key]` + The `Mod key` is not static and is reset on server restart. ### Creating a new board diff --git a/verification.go b/verification.go index 97f80bf..8dc5a6b 100644 --- a/verification.go +++ b/verification.go @@ -330,8 +330,6 @@ func HasAuth(db *sql.DB, code string, board string) bool { return true } - fmt.Println("has auth is false") - return false; } -- cgit v1.2.3