Fixed issue in AdminGroups.aspx: group name existence check was done agains the users instead of groups.

This commit is contained in:
Dario Solera 2010-02-07 10:32:13 +00:00
parent f5d5317719
commit a5aeafc80e
2 changed files with 3 additions and 3 deletions

View file

@ -108,7 +108,7 @@ namespace ScrewTurn.Wiki {
}
protected void cvName_ServerValidate(object sender, ServerValidateEventArgs e) {
e.IsValid = Users.FindUser(txtName.Text) == null;
e.IsValid = Users.FindUserGroup(txtName.Text) == null;
}
protected void btnNewGroup_Click(object sender, EventArgs e) {