<p>Hi {{ oauth2.user.displayName }}!</p>
<p><b>{{ oauth2.client.name }}</b> is requesting access to your account.</p>
<p>Do you approve?</p>

<form method="post" action="/dialog/authorize/decision">
  <input name="transaction_id" type="hidden" ng-value="oauth2.transactionID">
  <div>
    <input type="submit" name="allow" value="Allow">
    <input type="submit" name="deny" value ="Deny">
  </div>
</form>
<p>Hi {{ oauth2.user.displayName }}!</p>
<p><b>{{ oauth2.client.name }}</b> is requesting access to your account.</p>
<p>Do you approve?</p>

<form method="post" action="/dialog/authorize/decision">
  <input name="transaction_id" type="hidden" ng-value="oauth2.transactionID">
  <div>
    <input type="submit" value="Allow">
    <input type="submit" name="cancel" value="Deny">
  </div>
</form>
Fix bug ignoring user's refusal
Fix bug ignoring user's refusal
