From b053a646318a519ca166f71e875beeeb134fc4f9 Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Sat, 25 Apr 2020 16:54:20 +0200 Subject: [PATCH] Clarify error message. --- group.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/group.go b/group.go index 0bf16bd..679d0b1 100644 --- a/group.go +++ b/group.go @@ -352,7 +352,7 @@ type userPermission struct { func getPermission(desc *groupDescription, user, pass string) (userPermission, error) { var p userPermission if !desc.AllowAnonymous && user == "" { - return p, userError("anonymous users not allowed in this group") + return p, userError("anonymous users not allowed in this group, please choose a username") } if found, good := matchUser(user, pass, desc.Admin); found { if good {