/**
 * Module dependencies.
 */
var TokenError = require('./tokenerror');

/**
 * `TokenError` error.
 *
 * @api public
 */
function MFARequiredError(message, uri, user, areq) {
  TokenError.call(this, message, 'mfa_required', uri);
  Error.captureStackTrace(this, arguments.callee);
  this.name = 'MFARequiredError';
  this.user = user;
  this.req = areq;
}

/**
 * Inherit from `TokenError`.
 */
MFARequiredError.prototype.__proto__ = TokenError.prototype;


/**
 * Expose `MFARequiredError`.
 */
module.exports = MFARequiredError;

@@ -160,19 +160,24 @@
 uri,
+ areq,
  user, 
-areq
+ctx
 ) %7B%0A
@@ -316,16 +316,39 @@
 Error';%0A
+  this.request = areq;%0A
   this.u
@@ -370,18 +370,21 @@
 his.
-req = areq
+context = ctx
 ;%0A%7D%0A

Add context to error.