diff --git a/app/Http/Controllers/EntityController.php b/app/Http/Controllers/EntityController.php index 3f14e46..de233c0 100644 --- a/app/Http/Controllers/EntityController.php +++ b/app/Http/Controllers/EntityController.php @@ -281,7 +281,7 @@ function () use ($entity) { return redirect() ->route('entities.show', $entity) - ->with('status', __('entities.entity_updated')); + ->with('status', __('entities.entity_updated')." {$result['message']}"); break; diff --git a/app/Traits/ValidatorTrait.php b/app/Traits/ValidatorTrait.php index dfbe280..25d7908 100644 --- a/app/Traits/ValidatorTrait.php +++ b/app/Traits/ValidatorTrait.php @@ -513,7 +513,7 @@ public function checkScope(object $xpath): void $AAScope = $xpath->query('/md:EntityDescriptor/md:AttributeAuthorityDescriptor/md:Extensions/shibmd:Scope'); if ($IDPSSOScope->length !== 1) { - $this->error .= 'Precisely 1 EntityDescriptor/IDPSSODescriptor/Extensions/Scope required. '; + $this->message .= 'WARNING: Precisely 1 EntityDescriptor/IDPSSODescriptor/Extensions/Scope is HIGHLY recommended. '; } if ($AAScope->length > 1) {