Issue:
Users can easily become out of sync during updates.
Important
This is an expansion of the listed parent issue. The patch in the parent issue added functionality for editing user passwords on connected sites on registration. This expands on that and allows a user to stay in sync during updates and registration more accurately.
Also changed
Also changed in this case is an important option to allow logging into a site without triggering logging in on all sites. This feature may seem confusing at first, but in some cases, we want accounts to be synced or passwords to be updated, but we don't necessarily want logins on a master site to trigger logins on all connected sites. So extension sites can login to master, but master doesn't have to waste time logging in to extension sites.
Comments
Comment #2
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedAttaching patch
Comment #3
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedAttaching an updated patch. The patch from #2 will not work correctly.
Note: This patch is rough and hasn't been streamlined a great deal, but it's been tested and is working.
Comment #4
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedUpdated patch removing check for $account variable before it is set.
Comment #5
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedHere is an update to the patch that prevents a user from being logged in on target site when user is updated or registered on originating site.
Comment #6
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedUpdated patch with newline after function close.
Comment #7
ryan.gibson CreditAttribution: ryan.gibson at Mediacurrent commentedAttaching a patch that builds on this to sync roles as well as the user email address on user update, not just user registration.