1
Fork 0

Clarify error message.

This commit is contained in:
Juliusz Chroboczek 2020-04-25 16:54:20 +02:00
parent 6f7c809b71
commit b053a64631
1 changed files with 1 additions and 1 deletions

View File

@ -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 {