IVET#39930 Bij CSRF-token error in de foutmelding tijdstip vermelden. Ooit vast handig voor support
svn path=/Website/trunk/; revision=33203
This commit is contained in:
@@ -1360,14 +1360,14 @@ var protectRequest =
|
||||
|
||||
if (typeof DOCTYPE_Disable != "undefined" && DOCTYPE_Disable == 1 && typeof JSON != "undefined")
|
||||
{
|
||||
var result = {message: L("lcl_authentication_error")};
|
||||
var result = {message: L("lcl_authentication_error") + "\n" + toISODateTimeString(new Date())};
|
||||
Response.Write(JSON.stringify(result));
|
||||
Response.End;
|
||||
}
|
||||
else
|
||||
{
|
||||
abort_with_warning(L("lcl_authentication_error"));
|
||||
}
|
||||
{
|
||||
abort_with_warning(L("lcl_authentication_error") + "\n" + toISODateTimeString(new Date()));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user