mirror of
https://github.com/vdemydiuk/mtapi.git
synced 2026-08-14 03:08:07 +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;
|
return verifyResult;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool g_IsVerified = false;
|
bool g_IsVerified = true;
|
||||||
|
|
||||||
void _stdcall verify(int isDemo, wchar_t* accountName, long accountNumber)
|
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 getStringValue(int expertHandle, int paramIndex, string& res);
|
||||||
bool getBooleanValue(int expertHandle, int paramIndex, bool& 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
|
#import
|
||||||
|
|
||||||
input string ConnectionProfile = "Local5";
|
input string ConnectionProfile = "Local5";
|
||||||
@@ -87,7 +87,7 @@ int init()
|
|||||||
{
|
{
|
||||||
preinit();
|
preinit();
|
||||||
|
|
||||||
verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
|
// verify(IsDemo(), AccountInfoString(ACCOUNT_NAME), AccountInfoInteger(ACCOUNT_LOGIN));
|
||||||
|
|
||||||
if (TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) == false)
|
if (TerminalInfoInteger(TERMINAL_DLLS_ALLOWED) == false)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user