btf
This commit is contained in:
parent
7c644b3960
commit
a039f4def5
|
@ -95,7 +95,7 @@ class UserController extends Controller
|
||||||
"role" => Rule::in(['admin', 'mod', 'client', 'member']),
|
"role" => Rule::in(['admin', 'mod', 'client', 'member']),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if (is_null(Pterodactyl::getUser($request->input('pterodactyl_id')))){
|
if (is_null(Pterodactyl::getUser($request->input('pterodactyl_id')))) {
|
||||||
throw ValidationException::withMessages([
|
throw ValidationException::withMessages([
|
||||||
'pterodactyl_id' => ["User does not exists on pterodactyl's panel"]
|
'pterodactyl_id' => ["User does not exists on pterodactyl's panel"]
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue