Modificación de validación al crear prospecto por correo

This commit is contained in:
2026-03-07 12:45:34 -06:00
parent 36c368dad3
commit f6cee66c06
2 changed files with 27 additions and 4 deletions
+13
View File
@@ -112,6 +112,19 @@ Swal.fire({
});
</script>
@endif
@if (session('registro_exitoso'))
<script>
Swal.fire({
icon: 'success',
title: 'Registro exitoso',
text: '{{ session("registro_exitoso") }}',
confirmButtonText: 'Entendido'
}).then(() => {
window.location.href = "{{ route('login') }}";
});
</script>
@endif
</body>
</html>