Hello,
I am building a database with memberships and payment being handled by MemberPress. Since I am using Toolset to build the database itself, I realise that a MemberPress user could realistically log into “the wrong area” and log in via the Toolset login form. Is there any way to prevent this with a code snippet, Toolset feature, or plugin?
Thank you so much.
Hi,
Welcome to Toolset support. We do not have any integration with Memberpress so the point that I will provide below is how to restrict access to Tooslet Form, but I do not know which user role should be restricted.
If you’ve placed a Toolset Login block / User Form on any page, just restrict that page so only admins can see it (or so visitors are redirected).
1. Go to Toolset → Access.
2. In Post Groups, click Add Post Group (e.g. “Internal Forms”).
3. Add the page(s) that contain a Toolset login form to this group.
4. Under Who can read this content, allow only Administrator (and any other internal roles you want).
5. Enable Redirect unauthorized visitors and set the URL to your MemberPress login page.
This way, even if someone finds the Toolset login page, they’ll be bounced to the MemberPress login.
For more information:
https://toolset.com/course-lesson/setting-access-control/
Thanks.
Thank you so much. This did the trick!