PGP Two factor auth

<% if @gpg_msg != nil %>

To enable or disable PGP 2FA you will need to decrypt the message below and enter the decrypted word in the form.

To copy, click text box and press ctrl a ctrl c

<%= form_for(@user, method: 'post', url: account_pgp_2fa_path, html: {class: 'form-horizontal'}) do |f| %>
Enable PGP 2FA

This will require you to decrypt a random word every time you login and also when changing account settings.

<%= label_tag :secret_word, "Decrypted word", class: 'col-sm-2 control-label' %>
<%= text_field_tag :secret_word, nil, class: 'form-control' %>
<%= f.submit "Submit", id: 'submit', class: 'btn btn-primary' %>
<%end%> <%end%>