1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-12-22 23:35:46 +01:00

Clarify error message.

This commit is contained in:
Juliusz Chroboczek 2020-04-25 16:54:20 +02:00
parent 6f7c809b71
commit b053a64631

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 {