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
|
@ -16,5 +16,5 @@ using System.Reflection;
|
|||
//
|
||||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
[assembly: AssemblyVersion("3.0.1.473")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.473")]
|
||||
[assembly: AssemblyVersion("3.0.1.474")]
|
||||
[assembly: AssemblyFileVersion("3.0.1.474")]
|
||||
|
|
|
@ -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