1

I am trying to create a simple login popup. From the shared image of UI, you can see, a login button(top right) which opens a popup for login form.

https://prnt.sc/1mc5ppq

Now, I want to pass the email and password to the backend and get it verified. I used axios with POST request.

How should be the target URL specified and in which file should I create the php function to verify the username and password.

Do I need to create a dummy component or module or plugin to achieve this.

Googling I saw some urls were

index.php?com_ajax&task=loginVerify

But not sure where to write this function loginVerify

3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.