Commit b053a646 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Clarify error message.

parent 6f7c809b
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment