Skip to content

Commit

Permalink
Show connection form
Browse files Browse the repository at this point in the history
  • Loading branch information
nerijuszaniauskas committed Feb 2, 2024
1 parent 416b29d commit 81839e0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions omnisend/includes/Internal/class-connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ public static function display(): void {
}
}

if ( ! $connected ) {
require_once __DIR__ . '/../../view/connection-form.html';
return;
}

require_once __DIR__ . '/../../view/connection-success.html';
}

Expand Down

0 comments on commit 81839e0

Please sign in to comment.