From 8710a751eda3729e57e00bf7c7ff0561e0f03c19 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 21 Feb 2017 12:15:58 -0700 Subject: [PATCH] clean up --- oauth3.issuer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oauth3.issuer.js b/oauth3.issuer.js index 55c83c9..ab9b835 100644 --- a/oauth3.issuer.js +++ b/oauth3.issuer.js @@ -238,7 +238,7 @@ OAUTH3.urls.grants = function (directive, opts) { }; OAUTH3.authn = {}; -OAUTH3.authn.loginMeta = OAUTH3.authz.loginMeta = function (directive, opts) { +OAUTH3.authn.loginMeta = function (directive, opts) { if (opts.mock) { if (opts.mockError) { return OAUTH3.PromiseA.resolve({data: {error: {message: "Yikes!", code: 'E'}}}); @@ -254,7 +254,7 @@ OAUTH3.authn.loginMeta = OAUTH3.authz.loginMeta = function (directive, opts) { .replace(':id', opts.email) }); }; -OAUTH3.authn.otp = OAUTH3.authz.otp = function (directive, opts) { +OAUTH3.authn.otp = function (directive, opts) { if (opts.mock) { if (opts.mockError) { return OAUTH3.PromiseA.resolve({data: {error: {message: "Yikes!", code: 'E'}}}); @@ -275,7 +275,7 @@ OAUTH3.authn.otp = OAUTH3.authz.otp = function (directive, opts) { } }); }; -OAUTH3.authn.resourceOwnerPassword = OAUTH3.authz.resourceOwnerPassword = function (directive, opts) { +OAUTH3.authn.resourceOwnerPassword = function (directive, opts) { console.log('ginger bread man'); var providerUri = directive.issuer;