joomla/joomla-cms — pull request #3393 by Bakual (2014-03-30 19:18:28+00:00)
Title: Do not log in the user using cookie if a password reset is required

### Issue
The recently merged PR #3128 introduces the ability to require a password reset which forces the user to the profile page after he logged in. This works fine.
However if the user is logged in using the remember me cookie, it results in an interesting situation where the user has to edit the profile page, but isn't allowed because he is logged in using a cookie :smile:
There is no way out as the user is stuck on the profile page which he is unable to leave and isn't allowed to save.

### Proposed Fix
This PR adds a check in the cookie authentication plugin which only logs the user in if `requireReset` isn't set.