diff --git a/views/bootstrap/class.Setup2Factor.php b/views/bootstrap/class.Setup2Factor.php index 6426d1592..478148672 100644 --- a/views/bootstrap/class.Setup2Factor.php +++ b/views/bootstrap/class.Setup2Factor.php @@ -102,10 +102,11 @@ $(document).ready( function() { 'required'=>true ) ); + $this->formField( + getMLText('2_fact_auth_qrcode'), + '' + ); $this->formSubmit(getMLText('submit_2_fact_auth')); - echo '
'; - echo ''; - echo '
'; ?> columnEnd(); $this->columnStart(6); $this->contentHeading(getMLText('2_fact_auth_current_secret')); - echo '
'.htmlspecialchars($oldsecret).'
'; - echo '
'; + $this->formField( + getMLText('2_fact_auth_secret'), + htmlspecialchars($oldsecret) + ); + $this->formField( + getMLText('2_fact_auth_qrcode'), + '' + ); ?>