I was directed to the links below in reference to blocking site members without a pain subscription plan in place from signing in however the ‘wix-members-backend’ function throws up an error and advises its not recognised. Hs anyone else had any issues with this function?
The code I am trying to use is import { authentication } from ‘wix-members-backend’. As advised on the link below. I have attached a copy of the error that it flags up.
It seems like you might be trying to use this module in your page code. wix-members-backend is for backend code, so try using this part of your code in a backend file (.jsw) instead and export the function you’re trying to use to your frontend.