This commit is contained in:
Andras Bacsai
2023-05-16 10:03:34 +02:00
parent e54369334b
commit 9cff545c99
5 changed files with 83 additions and 18 deletions

View File

@@ -29,6 +29,9 @@ class ByIp extends Component
public function mount()
{
$this->name = generateRandomName();
if ($this->private_keys->count() > 0) {
$this->private_key_id = $this->private_keys->first()->id;
}
}
public function setPrivateKey(string $private_key_id)
{