Problem with my mikrotik hotspot

Hi guys, I have a Mikrotik with a hotspot using VLAN and AP “UNIFI UBIQUITI U6+” configured. My problem is that when my clients go to the captive portal and log in, it does not work, and they can’t connect online.

What am I doing wrong? When I do it directly with the Mikrotik it works and connects, but when I do it with the APs using the Unifi controller it doesn’t work.