Topic-icon How do I customise the URL redirection if the login details are wrong?

Active Subscriptions:

None
Hi,

If the user's login details (username/password) are incorrect, how do I customise the page that the user is redirected to? Users are currently being redirected to ...index.php?option=com_users&view=login, but it is blank because the user has not successfully logged in. They should just stay on the same page (...index.php) or, ideally, receive a message indicating that their login details are wrong and leave the login pop-up there to try again...
The site is www.cyclemycity.com (you'll need an Australian proxy to see it).
Thanks,
Matthew
The topic has been locked.
Support Specialist
The SCLoging module uses Joomla's built-in login system. We simply provide a better login module with more features. When the user enters their credentials and clicks "Login", they are passed off to Joomla itself. If those credentials are incorrect, they will go to the standard Joomla login page.

That page shouldn't be blank. If it's empty, then there's an issue with your site as user's should normally see an error message on that page as well as the username/password fields to try again. I'd recommend trying to switch to another template (like the standard Joomla one) and see the behavior in that template.. and then determine why there is a difference.

I hope that helps explain,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex,

Thanks for your attention. I'm having a similar problem. In my case, the login form module was assigned to one specific page (called "Login"), not my home page. Whenever username and/or password are incorrect, the user is notified with a warning and the form is appended again for resubmission (as expected). However, this takes places on the home page, and I would like it to remain on the login page. Per your explanation, it seems that my "Home" page is my "standard Joomla login page".

So, is there any way to change such "standard Joomla login page" and, in my case, specify that is must be my "Login" page?

Many thanks in advance!
The topic has been locked.
Support Specialist
I'm a bit confused by what you're saying here. Are you using the SCLogin module at all, or just the standard Joomla login page? If there's a URL you can provide where we can see what's happening, along with any other testing info, that'd probably help us understand the question better and provide an answer.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 2 weeks ago - 9 years 11 months ago #43045 by pbrevig
I'm using SCLogin. Feel free to try yourself. And let me explain my current status and issues.

1. When a wrong username / password pair is entered, there is no redirection: user stays on "Login" and, after 5 seconds, he/she receives a warning at the bottom asking to try again. This is OK. The only help I need here is on how/where to change the colors of this warning box (font, background and border).

2. Now, the biggest problems reside on the behavior observed when a password reset or an username reminder are requested by the user. In both cases, user is redirected to the "Home" page, where his/her email address is requested. I would like this to happen on the "Login" page, within the screen space occupied by the SCLogin module.

3. One last request. Where can I change the font face for buttons and the username / password fields? You will see that these are currently the only portions of my website not following the standard.

Thank you much!
Last edit: 9 years 11 months ago by pbrevig.
The topic has been locked.