You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@milagro.apache.org by sa...@apache.org on 2016/08/05 14:19:37 UTC

[10/37] incubator-milagro-mfa-js-lib git commit: Adding USER_REVOKED error.

Adding USER_REVOKED error.


Project: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-js-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-js-lib/commit/6d46a672
Tree: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-js-lib/tree/6d46a672
Diff: http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-js-lib/diff/6d46a672

Branch: refs/heads/add-documentation
Commit: 6d46a672022a270811b41914b8e0c980561ca1d2
Parents: 166b07b
Author: Simeon Aladjem <si...@certivox.com>
Authored: Tue Dec 22 15:43:37 2015 +0200
Committer: Simeon Aladjem <si...@certivox.com>
Committed: Tue Dec 22 15:43:37 2015 +0200

----------------------------------------------------------------------
 lib/mpin.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-milagro-mfa-js-lib/blob/6d46a672/lib/mpin.js
----------------------------------------------------------------------
diff --git a/lib/mpin.js b/lib/mpin.js
index c087f8c..86a110e 100644
--- a/lib/mpin.js
+++ b/lib/mpin.js
@@ -27,7 +27,8 @@ var mpinjs = (function () {
   Error.identityMissing = {code: 4, type: "IDENTITY_MISSING"};
   Error.wrongPin = {code: 5, type: "WRONG_PIN"};
   Error.wrongFlow = {code: 6, type: "WRONG_FLOW"};
-  Error.timeoutFinish = {code: 7, type: "TIMEOUT_FINISH"};
+  Error.userRevoked = {code: 7, type: "USER_REVOKED"};
+  Error.timeoutFinish = {code: 8, type: "TIMEOUT_FINISH"};
 
   State.invalid = "INVALID";
   State.start = "STARTED";