浏览代码

Update RegisterController.php

Dennis 3 年之前
父节点
当前提交
c1ca96d67c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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!')],
             ]);
         }