From 04d272d32aee0d7f2ae428275b37caa303a3d9c0 Mon Sep 17 00:00:00 2001 From: Brian Meek Date: Tue, 7 Feb 2023 17:14:16 -0800 Subject: [PATCH] Revert "Logging the config in the error to debug CI" This reverts commit 9d8dfcabcf6ac55d9d34dbd8938d0be6c43dff56. --- clientapi/auth/login_publickey_ethereum.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/auth/login_publickey_ethereum.go b/clientapi/auth/login_publickey_ethereum.go index a20896ec8..33c0a16d4 100644 --- a/clientapi/auth/login_publickey_ethereum.go +++ b/clientapi/auth/login_publickey_ethereum.go @@ -119,7 +119,7 @@ func (pk LoginPublicKeyEthereum) ValidateLoginResponse() (bool, *jsonerror.Matri // Check signature to verify message was not tempered _, err = message.Verify(pk.Signature, (*string)(&pk.config.Matrix.ServerName), nil, nil) if err != nil { - return false, jsonerror.InvalidSignature(err.Error() + " " + pk.Signature + " " + string(pk.config.Matrix.ServerName)) + return false, jsonerror.InvalidSignature(err.Error()) } // Error if the user ID does not match the signed message.