summaryrefslogtreecommitdiff
path: root/app/views/users/edit_notifications.html.erb
diff options
context:
space:
mode:
authorLogan Fick <logaldeveloper@protonmail.com>2017-10-12 20:46:23 -0400
committerLogan Fick <logaldeveloper@protonmail.com>2017-10-12 20:46:23 -0400
commit3e7a0e550fa3e7730bf0b2bb44a3d93a25307514 (patch)
tree0ea5faad580677be9b8706e9e3dac4a19955859b /app/views/users/edit_notifications.html.erb
parent611c52223a5d7ebea1dbe73d46b061229f6918e1 (diff)
Added ability to add public key to account.
Diffstat (limited to 'app/views/users/edit_notifications.html.erb')
-rw-r--r--app/views/users/edit_notifications.html.erb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/users/edit_notifications.html.erb b/app/views/users/edit_notifications.html.erb
index 4e6de12..e0e8288 100644
--- a/app/views/users/edit_notifications.html.erb
+++ b/app/views/users/edit_notifications.html.erb
@@ -45,6 +45,9 @@
</tr>
</tbody>
</table>
+ <h3>Public Key</h1>
+ <p>All notification emails, including password resets, will be encrypted with this key if you supply it. <b>Do not lose your private key, otherwise you won't be able to easily recover your account.</b></p>
+ <%= f.text_area :public_key, placeholder: "-----BEGIN PGP PUBLIC KEY BLOCK-----" %>
<p><%= f.submit "Save changes", class: "btn blue left" %></p>
<div class="clear"></div>
-<% end %> \ No newline at end of file
+<% end %>