fix calcolo username
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Version>6.16.2311.1414</Version>
|
||||
<Version>6.16.2311.1415</Version>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RootNamespace>MP_TAB_SERV</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace MP_TAB_SERV.Pages
|
||||
await Task.Delay(1);
|
||||
await localStorage.SetItemAsync("currTkn", "");
|
||||
await TDService.OperatoreDeleteRedis(MsgServ.MatrOpr);
|
||||
MsgServ.RigaOper = null;
|
||||
NavMan.NavigateTo("reg-new-device");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,8 +52,26 @@ namespace MP_TAB_SERV.Pages
|
||||
}
|
||||
|
||||
protected int expDays = 1;
|
||||
protected int matrOpr { get; set; } = 0;
|
||||
protected string authKey { get; set; } = "";
|
||||
protected int _matrOpr { get; set; } = 0;
|
||||
protected int matrOpr
|
||||
{
|
||||
get
|
||||
{
|
||||
//_matrOpr = MsgServ.MatrOpr;
|
||||
return _matrOpr;
|
||||
}
|
||||
set => _matrOpr = value;
|
||||
}
|
||||
protected string _authKey { get; set; } = "";
|
||||
protected string authKey
|
||||
{
|
||||
get
|
||||
{
|
||||
//_authKey = MsgServ.UserAuthKey;
|
||||
return _authKey;
|
||||
}
|
||||
set => _authKey = value;
|
||||
}
|
||||
protected AnagOperatoriModel rigaOpr { get; set; } = null!;
|
||||
protected string CurrOprTknLS { get; set; } = null!;
|
||||
protected string CurrOprTknRedis { get; set; } = null!;
|
||||
@@ -105,18 +123,18 @@ namespace MP_TAB_SERV.Pages
|
||||
vetoScan = adesso.AddSeconds(4);
|
||||
//NavManager.NavigateTo($"CodeProcess/{value}");
|
||||
var uri = NavMan.ToAbsoluteUri(value);
|
||||
if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("MatrOpr", out var _matrOpr))
|
||||
if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("MatrOpr", out var Uri_matrOpr))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(_matrOpr))
|
||||
if (!string.IsNullOrEmpty(Uri_matrOpr))
|
||||
{
|
||||
matrOpr = int.Parse(_matrOpr);
|
||||
matrOpr = int.Parse(Uri_matrOpr);
|
||||
}
|
||||
}
|
||||
if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("UserAuthKey", out var _authKey))
|
||||
if (QueryHelpers.ParseQuery(uri.Query).TryGetValue("UserAuthKey", out var Uri_authKey))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(_authKey))
|
||||
if (!string.IsNullOrEmpty(Uri_authKey))
|
||||
{
|
||||
authKey = _authKey;
|
||||
authKey = Uri_authKey;
|
||||
}
|
||||
}
|
||||
await logIn();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<body>
|
||||
<i>Modulo MAPOSPEC </i>
|
||||
<h4>Versione: 6.16.2311.1414</h4>
|
||||
<h4>Versione: 6.16.2311.1415</h4>
|
||||
<br /> Note di rilascio:
|
||||
<ul>
|
||||
<li>
|
||||
|
||||
@@ -1 +1 @@
|
||||
6.16.2311.1414
|
||||
6.16.2311.1415
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<item>
|
||||
<version>6.16.2311.1414</version>
|
||||
<version>6.16.2311.1415</version>
|
||||
<url>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/MP-TAB-SERV.zip</url>
|
||||
<changelog>https://nexus.steamware.net/repository/SWS/MP-TAB-SERV/stable/LAST/ChangeLog.html</changelog>
|
||||
<mandatory>false</mandatory>
|
||||
|
||||
Reference in New Issue
Block a user