mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Logging the config in the error to debug CI
Signed-off-by: Brian Meek <brian@hntlabs.com>
This commit is contained in:
parent
c0d986fdb1
commit
e515dd4ccd
|
|
@ -119,7 +119,7 @@ func (pk LoginPublicKeyEthereum) ValidateLoginResponse() (bool, *jsonerror.Matri
|
||||||
// Check signature to verify message was not tempered
|
// Check signature to verify message was not tempered
|
||||||
_, err = message.Verify(pk.Signature, (*string)(&pk.config.Matrix.ServerName), nil, nil)
|
_, err = message.Verify(pk.Signature, (*string)(&pk.config.Matrix.ServerName), nil, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return false, jsonerror.InvalidSignature(err.Error())
|
return false, jsonerror.InvalidSignature(err.Error() + " " + pk.Signature + " " + string(pk.config.Matrix.ServerName))
|
||||||
}
|
}
|
||||||
|
|
||||||
// Error if the user ID does not match the signed message.
|
// Error if the user ID does not match the signed message.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue