ws
This commit is contained in:
parent
51df65a0dd
commit
c356d61598
@ -241,9 +241,9 @@ OAUTH3.authn = {};
|
||||
OAUTH3.authn.loginMeta = function (directive, opts) {
|
||||
if (opts.mock) {
|
||||
if (opts.mockError) {
|
||||
return OAUTH3.PromiseA.resolve({data: {error: {message: "Yikes!", code: 'E'}}});
|
||||
return OAUTH3.PromiseA.resolve({ data: { error: { message: "Yikes!", code: 'E' } } });
|
||||
}
|
||||
return OAUTH3.PromiseA.resolve({data: {}});
|
||||
return OAUTH3.PromiseA.resolve({ data: {} });
|
||||
}
|
||||
|
||||
return OAUTH3.request({
|
||||
|
Loading…
x
Reference in New Issue
Block a user