?
avatar sazearte
sazearte
17 Aug 2015

Hello, i use joomla3.4, and i have problem:

I want to detect if user must to be reset password, and i use this code:

if (!$user->guest) {
if($user->resetCount == 0)
{
echo"must to reset your password";

}
else
{
echo "ok";

}
}

but not work, i think that is a bug in joomla code.

For reproduce, in admin resert password of user and connect to this user

Thank for advance.

avatar sazearte sazearte - open - 17 Aug 2015
avatar zero-24 zero-24 - change - 17 Aug 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-08-17 06:09:39
Closed_By zero-24
avatar zero-24 zero-24 - close - 17 Aug 2015
avatar zero-24
zero-24 - comment - 17 Aug 2015

@sazearte you need to check on requireReset not resetCount. Please use the forums: http://forum.joomla.org for general questions or the Google Group: https://groups.google.com/forum/#!forum/joomla-dev-cms for development questions as this is the bug Tracker of the CMS.

Thanks.

avatar zero-24 zero-24 - close - 17 Aug 2015
avatar zero-24 zero-24 - change - 17 Aug 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment