Merge pull request #3456 from PaulAdamDavis/prevent-auth-autocomplete

Disable autocomplete for setup & signup screens
This commit is contained in:
Hannah Wolfe 2014-07-30 22:22:40 +01:00
commit ee2d10d7c3
2 changed files with 10 additions and 0 deletions

View File

@ -1,6 +1,11 @@
<section class="setup-box js-setup-box fade-in">
<div class="vertical">
<form id="setup" class="setup-form" method="post" novalidate="novalidate">
{{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}}
<input style="display:none;" type="text" name="fakeusernameremembered"/>
<input style="display:none;" type="password" name="fakepasswordremembered"/>
<header>
<h1>Welcome to your new Ghost blog</h1>
<h2>Let's get a few things set up so you can get started.</h2>

View File

@ -1,6 +1,11 @@
<section class="setup-box js-signup-box fade-in">
<div class="vertical">
<form id="signup" class="setup-form" method="post" novalidate="novalidate">
{{!-- Horrible hack to prevent Chrome from incorrectly auto-filling inputs --}}
<input style="display:none;" type="text" name="fakeusernameremembered"/>
<input style="display:none;" type="password" name="fakepasswordremembered"/>
<header>
<h1>Welcome to Ghost</h1>
<h2>Create your account to start publishing</h2>