Merge pull request #213 from fileman/AddModuleDefaultValueCheck
Add Module Value Check
This commit is contained in:
commit
d9348d1088
@ -301,7 +301,7 @@
|
||||
|
||||
private async Task AddModule()
|
||||
{
|
||||
if (UserSecurity.IsAuthorized(PageState.User, "Edit", PageState.Page.Permissions))
|
||||
if (UserSecurity.IsAuthorized(PageState.User, "Edit", PageState.Page.Permissions) && !string.IsNullOrWhiteSpace(moduledefinitionname) && moduledefinitionname != "-")
|
||||
{
|
||||
if (moduletype == "new")
|
||||
{
|
||||
|
@ -1,5 +0,0 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"DefaultConnection": ""
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user