Connect wifi with Captive portal with Mikrotik routerboard

Good morning. I have a network configured with Captive portal, anyone can access the wireless or LAN cable network by logging in with their credentials on the welcome page that opens on the browser. The wifi connection does not work in a distant room, where however there is a LAN cable. My idea is to connect a Mikrotik 951 to take the cable connection and turn it into wifi. I want the captive portal to continue working, so every person who connects to the Mikrotik to browse has to enter their login credentials, as if logging into the main network. Instead what happens is that as long as the first person connects to Mikrotik with their browser credentials, everyone who connects to Mikrotik does so without authenticating on the browser because they are already connected. Is it possible to solve it? In summary I would like the Mikrotik to only act as a “bridge”. Extend the main connection without changing its access mode. Thank you all