Skip to content

Commit

Permalink
TVM-600 error message
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Oct 18, 2023
1 parent 70515cc commit 3a63ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/TuviAuthProtonLib/Broker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private void AddHeaders<TResponse, TRequest>(ProtonMessage<TResponse, TRequest>
var result = await broker.SendMessageAsync(msgAuth, default, cancellationToken).ConfigureAwait(false);
if (result.Success is false)
{
throw new AuthProtonException("Invalid password.");
throw new AuthProtonException(result.Error);
}

if (srpClient.VerifySession(result.ServerProof) is false)
Expand Down

0 comments on commit 3a63ccc

Please sign in to comment.