mirror of
https://github.com/ershisan99/coolify.git
synced 2025-12-17 04:59:30 +00:00
refactor is_instance_admin
This commit is contained in:
@@ -12,7 +12,7 @@ class ServerController extends Controller
|
||||
|
||||
public function new_server()
|
||||
{
|
||||
if (!is_cloud()) {
|
||||
if (!is_cloud() || is_instance_admin()) {
|
||||
return view('server.create', [
|
||||
'limit_reached' => false,
|
||||
'private_keys' => PrivateKey::ownedByCurrentTeam()->get(),
|
||||
|
||||
Reference in New Issue
Block a user