Skip Navigation

[Resolved] Block Toolset login access

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by rosieB 2 days, 17 hours ago.

Assisted by: Christopher Amirian.

Author
Posts
#2821943

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.

#2822023

Christopher Amirian
Supporter

Languages: English (English )

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.

#2822267

Thank you so much. This did the trick!