Fixed issue in AdminGroups.aspx: group name existence check was done agains the users instead of groups.
This commit is contained in:
parent
f5d5317719
commit
a5aeafc80e
2 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue