Templates Plugins Courses

Unable to restrict admin login

bookmyspa.bubbleapps.io is my application if one clicks on the ‘Admin’ button on the home page, he can access the admin panel, currently, there is no restriction. Ideally, this should be restricted.

Please help

The button Admin was added only for demo purposes so the best will be to delete it. For accessing the admin page you can create a separate logic. For example, you can create a logic like this: if the user is logging in with a specific email he will be redirected to the admin page. Also, it will be useful to have verification on the email on the admin page load and to provide acces only to the users with specific mail.

Best Regards,

Thanks, this was helpful

1 Like