Merge pull request #2135 from sbwalker/dev

Fix #2128 - site settings validation issue when logged in as Administrator (not Host)
This commit is contained in:
Shaun Walker 2022-04-14 08:31:29 -04:00 committed by GitHub
commit 4117e6e1c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@
{
try
{
if (_name != string.Empty && _urls != string.Empty && _themetype != "-" && _containertype != "-")
if (_name != string.Empty && _themetype != "-" && _containertype != "-")
{
var unique = true;
if (UserSecurity.IsAuthorized(PageState.User, RoleNames.Host))