mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Disable autocomplete for setup & signup screens
No issue - Adds 2 hidden inputs at the top start of the form that trick chrome into filling those, leaving out the rest.
This commit is contained in:
parent
11c0fe7a0f
commit
665b25e424
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user