Access point sending your own MAC

Hello, this is my first post here on the forum.
I have a question, when setting up a network with hotspot, I use the combination of Mikrotik as controller and an access point.
In this way, when the client connects, mikrotik sends the client MAC to my server and my server shows a custom page for the client.
Well, this works very well in cases where the access point is a Ubiquiti, in other cases something peculiar happens, the client connects to the access point, is sent to the mikrotik and consequently to the server, the MAC of the Access Point, client MAC.
What is the configuration, what should be done in the access points so that they send the MAC of the client instead of the MAC itself?

in general you have loop coming from the interface that is sending the mac
you can post picture for the log