Skip to content

Commit

Permalink
Fixing empty popup on signup (#1048)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisrudge authored Jun 23, 2017
1 parent 6cd1784 commit 1cfb835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/web_api/legacy_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class Auth0LegacyAPIClient {

delete options.autoLogin;

const popupHandler = autoLogin && popup ? this.client.popup.preload() : null;
const popupHandler = autoLogin && popup && sso ? this.client.popup.preload() : null;

this.client.signup(options, (err, result) => cb(err, result, popupHandler));
}
Expand Down

0 comments on commit 1cfb835

Please sign in to comment.