fixed bug:users can not login in Joomla! 3.2.x version.

Signed-off-by: TomWu <phperwuhan@gmail.com>