ldc-gen-game-web/app/Http/Requests/RegisterRequest.php
Sebastien Hattry 32686e5d0d create nr2023
2023-05-09 10:06:31 +00:00

42 lines
705 B
PHP

<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class RegisterRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return auth()->check();
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
//
];
}
/**
* Get custom attributes for validator errors.
*
* @return array
*/
public function attributes()
{
return [
'lastname' => 'Vorname',
];
}
}