<?php

namespace App\Http\Controllers\Auth;

use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ConfirmsPasswords;

/**
 * Reconfirmación de contraseña antes de acciones sensibles (middleware `password.confirm` de Laravel).
 */
class ConfirmPasswordController extends Controller
{
    use ConfirmsPasswords;

    /** Si falla la URL prevista, vuelve al dashboard. */
    protected $redirectTo = '/dashboard';

    public function __construct()
    {
        $this->middleware('auth');
    }
}
