This repository has been archived by the owner. It is now read-only.

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

merged 1 commit into from Aug 13, 2011
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings


Just for now

@@ -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;