?
avatar PhilETaylor
PhilETaylor
17 Nov 2017

Steps to reproduce the issue

attempt to login to frontend with invalid credentials (or just click login)

Expected result

login page with error message saying invalid credentials

Actual result

404 error page with url http://0.0.0.0:8010/index.php/login?Itemid=101

click back and then you get the warning:

screen shot 2017-11-17 at 20 12 50

avatar PhilETaylor PhilETaylor - open - 17 Nov 2017
avatar joomla-cms-bot joomla-cms-bot - change - 17 Nov 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Nov 2017
avatar PhilETaylor PhilETaylor - change - 17 Nov 2017
The description was changed
avatar PhilETaylor PhilETaylor - edited - 17 Nov 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 17 Nov 2017
Category Authentication
avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Nov 2017
Title
[4.0Alpha] Failed login on frontend goes to a 404 error
[4.0] Failed login on frontend goes to a 404 error
avatar joomla-cms-bot joomla-cms-bot - edited - 18 Nov 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Nov 2017

Can't confirm. Failing Logins (Module, Menu) redirect to /login?view=login.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18614.

avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Nov 2017
Status New Discussion
avatar PhilETaylor
PhilETaylor - comment - 19 Nov 2017

Just tested in Alpha2 and the problem persists.

When I fail to login it still goes to http://0.0.0.0:8010/index.php/login?Itemid=101 which is like

I DONT have any sample data installed.

screen shot 2017-11-19 at 17 23 43

avatar ivanework
ivanework - comment - 12 Jan 2018

Hope this following code will redirect to the current page:
File: \components\com_users\Controller\UserController.php inside the login failed conditional statement, Line number: [125]

$currentid = $app->getMenu()->getActive()->id;
$app->redirect(\JRoute::_('index.php?Itemid='.$currentid, false));
//$app->redirect(\JRoute::_('index.php?option=com_users&view=login', false));

And, it show the warning message, but css opacity hide the message on home page.

534a1f444fc34a0fe379aa80c2c401f9

avatar joomdonation
joomdonation - comment - 12 Jan 2018

This PR #18924 should fixed the issue

avatar ivanework
ivanework - comment - 12 Jan 2018

Yeah, that global fix will solve this also.

avatar joomdonation
joomdonation - comment - 12 Jan 2018

Could someone close this issue then?

avatar Quy Quy - change - 12 Jan 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-01-12 14:53:58
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 12 Jan 2018
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 12 Jan 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 12 Jan 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/18614

Add a Comment

Login with GitHub to post a comment