diff options
author | FChannel <> | 2021-05-13 23:59:31 -0700 |
---|---|---|
committer | FChannel <> | 2021-05-13 23:59:31 -0700 |
commit | c6ea2bf6fe01fc9da82b9643f4673dfc91f4e23d (patch) | |
tree | 41abdce976ee0c56c49dd106983281ce9e5b89c8 | |
parent | fbd5e54c952663d0f0fab352d37d3baeefdb2e53 (diff) |
Managing server info added to README
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | verification.go | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -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; } |