[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 16:39:35 UTC 2016


#7173: Signing up with a blog makes it impossible for the user to log in
------------------------------+--------------------
 Reporter:  imath             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  high              |   Milestone:  2.6.2
Component:  Registration      |     Version:
 Severity:  major             |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+--------------------

Comment (by imath):

 In [changeset:"10938"]:
 {{{
 #!CommitTicketReference repository="" revision="10938"
 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.

 See #7173
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7173#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list