Skip to content

Commit

Permalink
fix: rc-ev-loginPopup event missing issue (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
embbnux committed Aug 6, 2024
1 parent 402adbc commit 3c02569
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/modules/OAuth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,8 @@ import messageTypes from '../../enums/messageTypes';
]
})
export default class OAuth extends OAuthBase {
private _disableLoginPopup: boolean;

constructor({
disableLoginPopup = false,
...options
}) {
super(options);
this._disableLoginPopup = disableLoginPopup;
}

openOAuthPage() {
if (this._disableLoginPopup) {
if (this._deps.oAuthOptions.disableLoginPopup) {
window.parent.postMessage({
type: messageTypes.loginPopup,
oAuthUri: this.oAuthUri,
Expand Down

0 comments on commit 3c02569

Please sign in to comment.