Skip to content

Commit

Permalink
fixes #73 Fix size SSO popup
Browse files Browse the repository at this point in the history
  • Loading branch information
vietredweb committed Jun 5, 2023
1 parent 3e3da7e commit 31713b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const handleWalletResponse = (
const demoAccount =
demoUser && demoPassword ? '&demo_user=' + demoUser + '&demo_password=' + demoPassword : '';
const popupLink = `${endPoint}/index.php?option=authorize&api=oauth2&response_type=code&client_id=${clientID}&state=${ssoState}${optionList}${demoAccount}`;
let popup = window.open(popupLink, 'SSO', 'status=1,height=650,width=650');
let popup = window.open(popupLink, 'SSO', 'status=1,height=750,width=650');
var timer = setInterval(async () => {
if (popup.closed) {
clearInterval(timer);
Expand Down

0 comments on commit 31713b1

Please sign in to comment.