Okay, that was dumb
This commit is contained in:
@@ -212,7 +212,7 @@
|
||||
dataType: "json",
|
||||
async: false, // blocks until function returns - race conditions otherwise
|
||||
success: function (msg) {
|
||||
if (msg.d != true) {
|
||||
if (msg.d.Success != true) {
|
||||
|
||||
// Credentials problem.
|
||||
$('#TextMysqlRootPassword, #TextMysqlServerHost').css('background-image', "url('/Images/Icons/iconshock-red-cross-128x96px.png')").css('background-position', 'right center').css('background-repeat', 'no-repeat').css('background-size', '16px 12px');
|
||||
|
||||
@@ -150,7 +150,7 @@ namespace Swarmops.Frontend.Pages.v5.Public
|
||||
{
|
||||
if (!Debugger.IsAttached)
|
||||
{
|
||||
return true; // Probable hack attempt - fail silently
|
||||
return new AjaxCallResult {Success = true}; // Probable hack attempt - fail silently
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user