fix: Validate sentinel custom URL when enabling sentinel

This commit is contained in:
Andras Bacsai 2024-10-22 10:45:12 +02:00
parent e8854c3101
commit 028a0bf513

View file

@ -136,7 +136,6 @@ public function updatedServerSettingsIsBuildServer()
public function updatedServerSettingsIsSentinelEnabled($value) public function updatedServerSettingsIsSentinelEnabled($value)
{ {
$this->validate();
$this->validate([ $this->validate([
'server.settings.sentinel_custom_url' => 'required|url', 'server.settings.sentinel_custom_url' => 'required|url',
]); ]);