diff --git a/server/handler/login.go b/server/handler/login.go index 95c009de1..fdae48a5a 100644 --- a/server/handler/login.go +++ b/server/handler/login.go @@ -52,6 +52,7 @@ func GetLogin(c web.C, w http.ResponseWriter, r *http.Request) { if capability.Enabled(ctx, capability.Registration) == false { users, err := datastore.GetUserList(ctx) if err != nil || len(users) != 0 { + log.Println("Unable to create account. Registration is closed") w.WriteHeader(http.StatusForbidden) return }