samuellb/fribid

Incorrect conversion from TokenError to BankIDError

Closed this issue · 1 comments

bankid_storeCertificates() uses the return value of backend_storeCertificates(), of type TokenError, as its own return value (should be of the type BankIDError). This "corrupt" error code is then exposed to the Javascript interface.

Closed with #7