mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 16:03:31 +00:00
fixed suffix of OTS authentication
This commit is contained in:
@@ -25,7 +25,7 @@ class CfgFunctions {
|
|||||||
class extract_uuid {
|
class extract_uuid {
|
||||||
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_extract_uuid.sqf";
|
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_extract_uuid.sqf";
|
||||||
};
|
};
|
||||||
class extract_ots_auth_token {
|
class ots_extract_auth_token {
|
||||||
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_ots_extract_auth_token.sqf";
|
file = "\armatak\armatak\armatak_main\functions\extract_data\fn_ots_extract_auth_token.sqf";
|
||||||
};
|
};
|
||||||
class convert_location {
|
class convert_location {
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ if (isServer) exitWith {
|
|||||||
missionNamespace setVariable ["_atak_server_instance_username", _atak_api_username];
|
missionNamespace setVariable ["_atak_server_instance_username", _atak_api_username];
|
||||||
missionNamespace setVariable ["_atak_server_instance_password", _atak_api_password];
|
missionNamespace setVariable ["_atak_server_instance_password", _atak_api_password];
|
||||||
|
|
||||||
_atak_server_instance_token = call armatak_fnc_extract_auth_token;
|
_atak_server_instance_token = call armatak_fnc_ots_extract_auth_token;
|
||||||
|
|
||||||
if ((_atak_server_instance_token == "") and !(["ERROR", _atak_server_instance_token, false] call BIS_fnc_inString)) then {
|
if ((_atak_server_instance_token == "") and !(["ERROR", _atak_server_instance_token, false] call BIS_fnc_inString)) then {
|
||||||
private _warning = format ["<t color='#FF0000'>ARMATAK</t><br/> %1", "Connection Failed"];
|
private _warning = format ["<t color='#FF0000'>ARMATAK</t><br/> %1", "Connection Failed"];
|
||||||
|
|||||||
Reference in New Issue
Block a user