[buddypress-trac] [BuddyPress Trac] #7173: Signing up with a blog makes it impossible for the user to log in
buddypress-trac
noreply at wordpress.org
Wed Jul 6 17:00:00 UTC 2016
#7173: Signing up with a blog makes it impossible for the user to log in
------------------------------+---------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: closed
Priority: high | Milestone: 2.6.2
Component: Registration | Version:
Severity: major | Resolution: fixed
Keywords: has-patch commit |
------------------------------+---------------------
Changes (by imath):
* owner: => imath
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"10939"]:
{{{
#!CommitTicketReference repository="" revision="10939"
Make sure the password is set to what user chose when signing up with a
blog
When signing up, users choose their password and we are hashing them into
the meta field of the signups table.
When users activate their accounts, we directly run a query to replace the
password automatically generated by WordPress to what the users chose. For
the "signup with a blog" case, it appears this is not taking in account
because the created users is cached and the `xprofile_sync_wp_profile()`
function is reseting the password to the cached version.
To avoid this, as soon as we run the direct query, we are cleaning the
cached object of the created user.
Fixes #7173 (2.6 branch)
}}}
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7173#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list