app/Http/Requests/resetClaveCliente.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'correo' => 'required | max:80 |email | exists:users,email',
            'codigo' =>'required | max:13',
            'clave' =>'required | max:50 | min:6',
            'rclave' =>'required |max:50 | min:6 | same:clave'
        ];
    }
public function rules ( ) { return [ 'correo' => 'required | max:80 |email | exists:users,email' , 'codigo' => 'required | max:13' , 'clave' => 'required | max:50 | min:6' , 'rclave' => 'required |max:50 | min:6 | same:clave' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .