diff --git a/www/manage_account.php b/www/manage_account.php index 5c78b64..f059565 100644 --- a/www/manage_account.php +++ b/www/manage_account.php @@ -266,38 +266,51 @@ if ( isset( $_SESSION[ 'user_totp_pending' ] ) ) { '.htmlspecialchars(_('Your PGP key has expired, so PGP two-factor authentication was skipped for this login. Update your PGP key to restore PGP two-factor authentication.')).''; + } else { + echo $msg; + echo '
'.htmlspecialchars(_('To login, please decrypt the following PGP encrypted message and confirm the code:')).'
'; + echo ''.htmlspecialchars( $encrypted ).''; + ?> + + + +