%PDF- %PDF-
Direktori : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Users/ |
Current File : /var/www/html/geotechnics/api/app/Http/Requests/Api/v1/Users/ConfirmAccountRequest.php |
<?php namespace App\Http\Requests\Api\v1\Users; use App\Http\Requests\BaseRequest; class ConfirmAccountRequest extends BaseRequest { /** * Determine if the user is authorized to make this request. * * @return bool */ public function authorize() { return true; } /** * Get the validation rules that apply to the request. * * @return array */ public function rules() { return [ 'token' => 'required|string|exists:users,confirmation_code', ]; } }