Preventing Frappe Website User Login

I’m using Frappe as the backend for our React application, and we manage our users in the Frappe user system. However, we’ve encountered an issue where users can log in to the Frappe website as website users, which we want to prevent.

Currently, we’re using the Login After feature to restrict access by setting a large number in it.

However, I’m wondering if there’s any other built-in method within Frappe to achieve this in a more optimal