Thread Starter
leok24
(@leok24)
Thank you very much for your quick responses! As you proposed with writting some code i found a temporary solution for this issue by redirecting all non admins to the site’s url. If you investigate this more i d like to know there is any solid solution. Thanks again!
Thread Starter
leok24
(@leok24)
My template uses the STM LMS plugin and its login system. As i mentioned before when i press login from my site’s frontend the url changes to http://www.example.com/lms-login. I enter the credentials and the 2fa feature kicks in. The shield 2fa page comes and asks for the code that has been sent to the email. The url changes to http://www.example.com/lms-user. Now if i enter a valid code i enter my site’s frontend as a simple user. If i enter a false code the shield 2fa page asks for the correct one but the url changes to http://www.example.com/wp-admin. I want to prevent that so the url still remains like the last one http://www.example.com/lms-user cause otherwise the user logs into the backend of my website