Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 4.5.2
-
Fix Version/s: 4.6
-
Component/s: Joomla Integration
-
Labels:
-
Documentation Required?:None
Description
Once logging with either wrong username or password in Joomla there is no Joomla error message 'Username and password do not match or you do not have an account yet.'
$app->enqueueMessage($response->error_message, 'error');
should be added before occurences of redirect in auth plugin:
$app->redirect($redirectURLs['bad_password']);
and
$app->redirect($redirectURLs['no_match']);
The perfect solution is to not redirect and not raise errors if redirectURL is empty, in this case Joomla will proceed itself. But we can't setup empty value in redirect settings.