Browse Source

Update RegisterController.php

Dennis 3 years ago
parent
commit
c1ca96d67c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/Auth/RegisterController.php

+ 1 - 1
app/Http/Controllers/Auth/RegisterController.php

@@ -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!')],
             ]);
         }