Update RegisterController.php

This commit is contained in:
Dennis 2021-12-27 07:58:46 +01:00 committed by GitHub
parent 7b974c17d2
commit c1ca96d67c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,7 +110,7 @@ class RegisterController extends Controller
if ($response->failed()) {
$user->delete();
throw ValidationException::withMessages([
'ptero' => [__('Account already exists on Pterodactyl. Please contact the Support!')],
'ptero_registration_error' => [__('Account already exists on Pterodactyl. Please contact the Support!')],
]);
}