immediately before implementing new QBOI code for oAuth2 (except did change json.net in qboi project from v10 to v12)
This commit is contained in:
@@ -4428,7 +4428,7 @@ sLastOp="Saving workorder" + w.WorkorderService.ServiceNumber.ToString();
|
||||
/// <returns></returns>
|
||||
private bool DoNewLogin(string Login, string Password)
|
||||
{
|
||||
if(!Thread.CurrentPrincipal.Identity.IsAuthenticated)
|
||||
if(Thread.CurrentPrincipal.Identity==null || !Thread.CurrentPrincipal.Identity.IsAuthenticated)
|
||||
AyaBizUtils.Login(Login, Password);
|
||||
if(Thread.CurrentPrincipal.Identity.IsAuthenticated)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user