Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix login routine to display error message generated by authentication pl #212

Merged
merged 1 commit into from

2 participants

@roland-d
Owner

Fix login routine to display error message generated by authentication plugin.

@eddieajau

Roland, can you add a line to the change log describing the fix? See the wiki page on contributing for more info. Thanks.

@roland-d
Owner

Eddie, I have added a note to the change log.

@eddieajau eddieajau merged commit 082cd16 into joomla:master
@eddieajau

Thanks. You could have actually just added that to the branch without making a new pull. The pull request is against a whole branch, not individual commits. Something to remember :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2011
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  libraries/joomla/application/application.php
View
2  libraries/joomla/application/application.php
@@ -761,7 +761,7 @@ public function login($credentials, $options = array())
// If status is success, any error will have been raised by the user plugin
if ($response->status !== JAuthentication::STATUS_SUCCESS)
{
- JError::raiseWarning('102001', JText::_('JLIB_LOGIN_AUTHENTICATE'));
+ JError::raiseWarning('102001', $response->error_message);
}
return false;
Something went wrong with that request. Please try again.