Skip to content

Commit

Permalink
removed console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
glena committed Dec 7, 2016
1 parent 151aead commit 3e01629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/web_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,9 @@ class Auth0WebAPI {
const authOpts = this.authOpts[lockID];
const f = loginCallback(!authOpts.popup, cb);
const client = this.clients[lockID];
console.log(this.authOpts[lockID]);

if (this.authOpts[lockID].legacyMode) {
options.realm = options.connection;
console.log({...options, ...authOpts, ...authParams});
client.client.loginRealm({...options, ...authOpts, ...authParams}, f);
} else if (authOpts.popup) {
client.popup.login({...options, ...authOpts, ...authParams}, f)
Expand Down
1 change: 1 addition & 0 deletions support/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
const domain = "auth0-tests-lock.auth0.com";
const options = {
rememberLastLogin: true,
legacyMode: false,
auth: {
redirect: false
}
Expand Down

0 comments on commit 3e01629

Please sign in to comment.