diff --git a/UI/Common/UIxUserRightsEditor.m b/UI/Common/UIxUserRightsEditor.m index 8a6ee1166..2208c50c2 100644 --- a/UI/Common/UIxUserRightsEditor.m +++ b/UI/Common/UIxUserRightsEditor.m @@ -237,6 +237,7 @@ { response = [self responseWithStatus: 403 andString: @"No such user."]; + return response; } else { @@ -250,7 +251,7 @@ response = [self jsCloseWithRefreshMethod: nil]; } - } + return response; } diff --git a/UI/WebServerResources/GNUmakefile b/UI/WebServerResources/GNUmakefile index 7ec9d633c..112e1fe6a 100644 --- a/UI/WebServerResources/GNUmakefile +++ b/UI/WebServerResources/GNUmakefile @@ -6,9 +6,9 @@ WEBSERVER_RESOURCE_DIRS = css fonts img js build-static-files: @if [ -d bower_components ]; then \ - bower update --allow-root; \ + bower update; \ else \ - bower install --allow-root; \ + bower install; \ fi ( cd bower_components/underscore/ && npm run-script build ) grunt build