Further refinements for account recovery
[blerg.git] / www / jssrc / blerg / AccountCenter.js
index 80db769..c3d4667 100644 (file)
@@ -4,8 +4,8 @@ enyo.kind({
         {tag: 'h2', content: "Change Password"},
         {kind: "blerg.PasswdForm"},
         {tag: 'h2', content: "Generate recovery link"},
-        {content: "A recovery link is a URL that will allow you to reset the password on your account. Whoever has this link will be able to gain control of your account. This link should be kept in a safe place like an encrypted password manager or a physical piece of paper locked in a safe. The link will expire after one year or the next password change (either via a recovery link or by changing it manually above). To indicate that you understand this, please copy <code>blërg</code> into the textbox below.", tag: 'p', allowHtml: true},
-        {tag: 'p', components: [
+        {content: "A recovery link is a URL that will allow you to reset the password on your account at a later time. Whoever has this link will be able to gain control of your account. This link should be kept in a safe place like an encrypted password manager or a physical piece of paper locked in a safe. The link will expire after one year or the next password change (either via a recovery link or by changing it manually above). To indicate that you understand this, please copy <code>blërg</code> into the textbox below.", tag: 'p', allowHtml: true},
+        {tag: 'form', onsubmit: 'generateRecoveryLink', components: [
             {kind: 'onyx.InputDecorator', classes: "recovery", components: [
                 {kind: 'onyx.Input', name: "recoveryVerifier"}
             ]},