mirror of
https://github.com/jech/galene.git
synced 2024-11-22 16:45:58 +01:00
Clarify error message.
This commit is contained in:
parent
6f7c809b71
commit
b053a64631
1 changed files with 1 additions and 1 deletions
2
group.go
2
group.go
|
@ -352,7 +352,7 @@ type userPermission struct {
|
||||||
func getPermission(desc *groupDescription, user, pass string) (userPermission, error) {
|
func getPermission(desc *groupDescription, user, pass string) (userPermission, error) {
|
||||||
var p userPermission
|
var p userPermission
|
||||||
if !desc.AllowAnonymous && user == "" {
|
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 found, good := matchUser(user, pass, desc.Admin); found {
|
||||||
if good {
|
if good {
|
||||||
|
|
Loading…
Reference in a new issue