Skip to content

Commit

Permalink
Fix auth window (#4635)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feroze Mohideen authored May 9, 2024
1 parent 5d8a2c7 commit 039dffd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/src/lib/hooks/useAuthWindow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export const useAuthWindow = ({
try {
if (
authWindow.location.hostname.includes("dashboard.getporter.dev") ||
authWindow.location.hostname.includes("cloud.porter.run") ||
authWindow.location.hostname.includes("localhost")
) {
authWindow.close();
Expand Down

0 comments on commit 039dffd

Please sign in to comment.