fix(WalletConnect): Reject session request when the authentication fails
TODO: Analyse recovery options
This commit is contained in:
parent
4d963031e9
commit
de916507e9
|
@ -114,6 +114,7 @@ SQUtils.QObject {
|
||||||
if (session === null)
|
if (session === null)
|
||||||
return
|
return
|
||||||
root.displayToastMessage(qsTr("Failed to authenticate %1 from %2").arg(methodStr).arg(session.peer.metadata.url), true)
|
root.displayToastMessage(qsTr("Failed to authenticate %1 from %2").arg(methodStr).arg(session.peer.metadata.url), true)
|
||||||
|
root.sessionRequestResult(request, false /*isSuccessful*/)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue