Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
livrasand committed Sep 3, 2024
2 parents 762ae47 + 68737ae commit 016a3ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ document.addEventListener('DOMContentLoaded', () => {
const password = document.getElementById('password') ? document.getElementById('password').value : null;

// Redirect to the API login or registration endpoint with email and password
window.opener.postMessage({ action, email, password }, '*');
window.parent.postMessage({ action, email, password }, '*');
window.close();
});
});

0 comments on commit 016a3ef

Please sign in to comment.