aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFChannel <>2021-05-13 23:59:31 -0700
committerFChannel <>2021-05-13 23:59:31 -0700
commitc6ea2bf6fe01fc9da82b9643f4673dfc91f4e23d (patch)
tree41abdce976ee0c56c49dd106983281ce9e5b89c8
parentfbd5e54c952663d0f0fab352d37d3baeefdb2e53 (diff)
Managing server info added to README
-rw-r--r--README.md6
-rw-r--r--verification.go2
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;
}