title: Meteor AccountTemplates/UserAccounts - how to run code on email verify?
body: <p>I've got some code I want to run after the user verifies their email.</p>
  
  <p>Where would I put that?</p>
  
  <p>The only place I can think is a redirected route, but that's a bit hacky, and relies on the user waiting for the redirect to happen. I'm using iron-router.</p>
  
  <p>This was my first attempt, but the recalculate function is server-side.</p>
  
  <pre><code>AccountsTemplates.configureRoute('verifyEmail', {
    redirect: function(){
      var user = Meteor.user();
      if (user) {
        user.recalculateSignUpReputation();
        Router.go('home');
      }
    }
  });
  </code></pre>
  
  <p><a href="https://stackoverflow.com/a/32805985/1483977">Here's a solution observing a cursor</a> but that seems like overkill.  I'd prefer an event.  Solution #1 didn't work for me.</p>