/home/aloic1/public_html/core/vendor/laravel/fortify/src/Http/Requests/VerifyEmailRequest.php
<?php
namespace Laravel\Fortify\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class VerifyEmailRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
if (! hash_equals((string) $this->route('id'), (string) $this->user()->getKey())) {
return false;
}
if (! hash_equals((string) $this->route('hash'), sha1($this->user()->getEmailForVerification()))) {
return false;
}
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [];
}
}
@LwBee Strong Bypass
Upload File
Create New File