about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http.go b/src/http.go
index fb01aa2..2c62eaf 100644
--- a/src/http.go
+++ b/src/http.go
@@ -68,7 +68,7 @@ func registerPostHandler(w http.ResponseWriter, r *http.Request) {
 	}
 
 	if !isValid(username) {
-		indexHandler(w, r)
+		return
 	}
 
 	// add the new username to the list of usernames