Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

387 B
Raw Blame
<?php

namespace HiEvents\Http\Request\User\TwoFactor;

use HiEvents\Http\Request\BaseRequest;

class BeginTwoFactorSetupRequest extends BaseRequest
{
    public function rules(): array
    {
        return [
            'password' => ['required_without:reauth_proof', 'nullable', 'string', 'max:255'],
            'reauth_proof' => ['nullable', 'string', 'max:128'],
        ];
    }
}