mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-06-11 11:03:23 +02:00
Fixed: v0.3 Changes
This commit is contained in:
@ -56,10 +56,6 @@ namespace FabAccessAPI
|
||||
throw new AuthenticationFailedException(response.Failed.AdditionalData.ToArray());
|
||||
}
|
||||
}
|
||||
if(response.Successful != null)
|
||||
{
|
||||
return response.Successful.Session;
|
||||
}
|
||||
if(response.Challenge != null)
|
||||
{
|
||||
byte[]? additional = saslMechanism.GetResponse(response.Challenge.ToArray());
|
||||
@ -71,7 +67,14 @@ namespace FabAccessAPI
|
||||
}
|
||||
}
|
||||
|
||||
throw new AuthenticationFailedException();
|
||||
if (response.Successful != null)
|
||||
{
|
||||
return response.Successful.Session;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new AuthenticationFailedException();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
|
Reference in New Issue
Block a user