mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +01:00
in unsecure() always try to clean keychain
This commit is contained in:
committed by
GitHub
parent
3af02dfba8
commit
79b539840d
@@ -360,6 +360,7 @@ function unsecure($url)
|
||||
$this->files->unlink($this->certificatesPath().'/'.$url.'.key');
|
||||
$this->files->unlink($this->certificatesPath().'/'.$url.'.csr');
|
||||
$this->files->unlink($this->certificatesPath().'/'.$url.'.crt');
|
||||
}
|
||||
|
||||
$this->cli->run(sprintf('sudo security delete-certificate -c "%s" /Library/Keychains/System.keychain', $url));
|
||||
$this->cli->run(sprintf('sudo security delete-certificate -c "*.%s" /Library/Keychains/System.keychain', $url));
|
||||
@@ -368,7 +369,6 @@ function unsecure($url)
|
||||
$url, '@laravel.valet'
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the path to the linked Valet sites.
|
||||
|
||||
Reference in New Issue
Block a user