forked from vern/website
gpg-recovery should point to itself, else 404
I have modified the templates to point to the gpg-recovery, as they pointed to a 404 and your browser posts to such a 404, which won't work. The gpg-recovery program should support some kind of template to point to itself, to make our lives easier, and remove the possibility of human error, as the script can know the full URL it's being called at, but it doesn't.
This commit is contained in:
parent
e1cd5ce441
commit
28f58f53ce
|
@ -12,7 +12,7 @@
|
|||
NAV
|
||||
<div class=h><h1 id=pgp-recovery>PGP-based Account Recovery</h1> <a aria-hidden=true href=#pgp-recovery>#pgp-recovery</a></div>
|
||||
<p>Fill out this form, and follow the steps given.</p>
|
||||
<form method="post" action="/en/recovery-challenge">
|
||||
<form method="post" action="/en/recovery-challenge.cgi">
|
||||
<input hidden type=text name=method value="generate">
|
||||
<p>Username:
|
||||
<input type=text name=username>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<div class=h><h1 id=pgp-recovery>PGP-based Account Recovery</h1> <a aria-hidden=true href=#pgp-recovery>#pgp-recovery</a></div>
|
||||
<p>Generate your signature by going into a terminal and running the following:</p>
|
||||
<pre style='white-space:pre-line;word-break:keep-all;'><code>echo 'CHALLENGE' | gpg -a --detach-sig --default-key KEYID</code></pre>
|
||||
<form method="post" action="/en/recovery-challenge">
|
||||
<form method="post" action="/en/recovery-challenge.cgi">
|
||||
<input hidden type=text name=method value="submit">
|
||||
<p>Username:
|
||||
<input type=text name=username value=USERNAME>
|
||||
|
|
Loading…
Reference in New Issue