1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-13 01:54:00 +02:00

Move \n to loginFormField

This commit is contained in:
Jakub Vrana
2025-02-25 17:36:37 +01:00
parent 57ec1f924d
commit e107ef52d5
3 changed files with 8 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ class AdminerLoginOtp {
function loginFormField($name, $heading, $value) {
if ($name == 'password') {
return $heading . $value
return $heading . $value . "\n"
. "<tr><th><acronym title='One Time Password' lang='en'>OTP</acronym>"
. "<td><input type='number' name='auth[otp]' value='" . h($_SESSION["otp"]) . "' size='6' autocomplete='one-time-code' inputmode='numeric' maxlength='6' pattern='\d{6}'>\n"
;