mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
Fix no error display if adding a server with an invalid email
This commit is contained in:
@@ -120,7 +120,7 @@ class ServerRepository
|
||||
}
|
||||
|
||||
if (!$user) {
|
||||
throw new DisplayValidationException('The user id or email passed to the function was not found on the system.');
|
||||
throw new DisplayException('The user id or email passed to the function was not found on the system.');
|
||||
}
|
||||
|
||||
$autoDeployed = false;
|
||||
|
||||
Reference in New Issue
Block a user