Disabled chrome autofill in option form
authorMarcel Werk <burntime@woltlab.com>
Thu, 12 Feb 2015 15:07:58 +0000 (16:07 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 12 Feb 2015 15:07:58 +0000 (16:07 +0100)
wcfsetup/install/files/acp/templates/option.tpl

index bcf535c4bcd10961f7117ab01c9ac1280c39ae9c..a1ad999be7c19855cf46d77dd9af2ab4eac56f6c 100644 (file)
 </div>
 
 <form method="post" action="{link controller='Option' id=$category->categoryID}{/link}" enctype="multipart/form-data">
+       <!-- fake fields are a workaround for chrome autofill getting the wrong fields -->
+       <input style="display:none" type="text" name="fakeusernameremembered "/>
+       <input style="display:none" type="password" name="fakepasswordremembered" />
+       
        <div class="tabMenuContainer" data-active="{$activeTabMenuItem}" data-store="activeTabMenuItem">
                <nav class="tabMenu">
                        <ul>