mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-07-28 02:57:56 +00:00
disable verification in mtapi5
This commit is contained in:
@@ -76,7 +76,7 @@ bool VerifySignature(System::String^ inputData, System::String^ signature, Syste
|
||||
return verifyResult;
|
||||
}
|
||||
|
||||
bool g_IsVerified = false;
|
||||
bool g_IsVerified = true;
|
||||
|
||||
void _stdcall verify(int isDemo, wchar_t* accountName, long accountNumber)
|
||||
{
|
||||
|
||||
Binary file not shown.
+2
-2
@@ -32,7 +32,7 @@
|
||||
bool getStringValue(int expertHandle, int paramIndex, string& res);
|
||||
bool getBooleanValue(int expertHandle, int paramIndex, bool& res);
|
||||
|
||||
void verify(bool isDemo, string accountName, long accountNumber);
|
||||
// void verify(bool isDemo, string accountName, long accountNumber);
|
||||
#import
|
||||
|
||||
input string ConnectionProfile = "Local5";
|
||||
@@ -87,7 +87,7 @@ int init()
|
||||
{
|
||||
preinit();
|
||||
|
||||
verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
|
||||
// verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
|
||||
|
||||
if (TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user