Skip to content

Commit

Permalink
fix: temporary removal of check for operator admin login (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilindsay authored Oct 31, 2024
1 parent e70824e commit 2c3e25c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,13 @@ private function operatorAdminForOrganisationHasLoggedIn($organisationId): bool
*/
protected function checkIfOperatorAdminHasLoggedIn($organisationId, $form = null): bool
{
/**
* @todo we need this check to always return true for now
* @see https://dvsa.atlassian.net/browse/VOL-5886
* @see https://dvsa.atlassian.net/browse/VOL-5885
*/
return true;

$operatorAdminHasLoggedIn = $this->operatorAdminForOrganisationHasLoggedIn($organisationId);

if (!$operatorAdminHasLoggedIn && $form instanceof \Laminas\Form\Form) {
Expand Down

0 comments on commit 2c3e25c

Please sign in to comment.