Fix login form

Fix a small bug introduced on commit 43f3c5f that breaks the login form ($attrib['form'] is checked at line 1899, so it cannot be unset).
pull/5393/head^2
Victor Benincasa 8 years ago committed by GitHub
parent 32e5a6bbcf
commit daeb66ee99

@ -1822,7 +1822,6 @@ EOF;
$attrib['autocapitalize'] = 'off';
$form_name = !empty($attrib['form']) ? $attrib['form'] : 'form';
unset($attrib['form']);
// set atocomplete attribute
$user_attrib = $autocomplete > 0 ? array() : array('autocomplete' => 'off');

Loading…
Cancel
Save