Masked login issue on a mobile device

We are able to access the masked login URL on a mobile device, but after trying to log in, instead of being sent to the dashboard, the website says “This feature has been disabled,” which is the same page we usually see when trying to directly access the /wp-login or /wp-admin URLs when login masking is enabled. So, it’s not recognizing that we have successfully logged in and should be allowed to access the /wp-admin pages.