We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd5edd4 commit 1545bdcCopy full SHA for 1545bdc
2 files changed
OpenFlow/src/DatabaseConnection.ts
@@ -500,7 +500,7 @@ export class DatabaseConnection {
500
var r: Role = (item as any);
501
if (r.name == null || r.name == "") { throw new Error("Name is mandatory"); }
502
var exists2 = await Role.FindByName(r.name);
503
- if (exists2 != null) { throw new Error("Access denied"); }
+ if (exists2 != null) { throw new Error("Access denied, adding new user"); }
504
}
505
506
// var options:CollectionInsertOneOptions = { writeConcern: { w: parseInt((w as any)), j: j } };
VERSION
@@ -1 +1 @@
1
-0.0.438
+0.0.439
0 commit comments