ajax call breaking onBeforeSaveUser
Had a response from Pixel &amp; Tonic on this. Which explains the process.



The problem you're seeing is caused by returnJson() as that also ends the process after outputting the JSON data. Most likely onSaveUser (without Before) is a better place for this code; that ensures the user has been saved to the database before running the event code.