diff --git a/websiteFunctions/website.py b/websiteFunctions/website.py index 6f9d245a4..bb3695226 100755 --- a/websiteFunctions/website.py +++ b/websiteFunctions/website.py @@ -2628,6 +2628,11 @@ StrictHostKeyChecking no website = Websites.objects.get(domain=self.domain) + if website.externalApp != data['externalApp']: + data_ret = {'status': 0, 'error_message': 'External app mis-match.'} + json_data = json.dumps(data_ret) + return HttpResponse(json_data) + uBuntuPath = '/etc/lsb-release' if os.path.exists(uBuntuPath):