Update an existing {@link User} into persistent storage.
194195196197198199200201202203204
// Persist the changes made during this dialog if (state.isCreating()) { logic.insertUser(user); } else { logic.updateUser(user); } // Log in a new user if already confirmed // Otherwise, send the confirmation email if (state.isCreating()) {