Minor optimizations

This commit is contained in:
Daniel Winzen
2020-02-29 16:12:10 +01:00
parent c2b010e8e6
commit 7ae817c18f
4 changed files with 5 additions and 4 deletions

View File

@ -101,7 +101,7 @@ if($tfa){
$encrypted = gnupg_encrypt($gpg, "To login, please enter the following code to confirm ownership of your key:\n\n".$_SESSION['2fa_code']."\n");
echo $msg;
echo "<p>To login, please decrypt the following PGP encrypted message and confirm the code:</p>";
echo "<pre>$encrypted</pre>";
echo "<textarea readonly=\"readonly\" onclick=\"this.select()\" rows=\"10\" cols=\"70\">$encrypted</textarea>";
?>
<form action="login.php" method="post"><input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token']; ?>">
<table border="1">