Skip to content

Commit

Permalink
Don't check if OrganizationURL is accessible
Browse files Browse the repository at this point in the history
This check isn't worth the issues to be solved with organizations joining
eduID.cz federation.
  • Loading branch information
JanOppolzer committed Sep 27, 2023
1 parent f1d5ff0 commit 165a78c
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/Traits/ValidatorTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -610,20 +610,10 @@ public function checkOrganization(object $xpath): void

if ($OrganizationURL_CS->length === 0) {
$this->error .= 'Organization/OrganizationURL[@xml:lang="cs"] missing. ';
} else {
$r = $this->checkURLaddress($OrganizationURL_CS);
if ($r) {
$this->error .= $r;
}
}

if ($OrganizationURL_EN->length === 0) {
$this->error .= 'Organization/OrganizationURL[@xml:lang="cs"] missing. ';
} else {
$r = $this->checkURLaddress($OrganizationURL_EN);
if ($r) {
$this->error .= $r;
}
}
}
}
Expand Down

0 comments on commit 165a78c

Please sign in to comment.