samuellb/fribid — Issue #2: Incorrect conversion from TokenError to BankIDError
Author: samuellb
Created: 2012-02-29 21:21:04+00:00
State: open

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.