Browse Source

Prevent browser from pre-fill passwords.

Martin Edenhofer 8 years ago
parent
commit
9cb57cdbe6

+ 3 - 3
app/assets/javascripts/app/views/channel/email_account_wizard.jst.eco

@@ -1,6 +1,6 @@
 <div class="modal-dialog wizard">
 
-  <form  autocomplete="off" class="modal-content setup wizard js-intro">
+  <form  autocomplete="off" class="modal-content setup wizard js-intro" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">
@@ -79,7 +79,7 @@
     <div class="modal-footer"></div>
   </form>
 
-  <form  autocomplete="off" class="modal-content setup wizard hide js-inbound">
+  <form  autocomplete="off" class="modal-content setup wizard hide js-inbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">
@@ -129,7 +129,7 @@
     </div>
   </form>
 
-  <form  autocomplete="off" class="modal-content setup wizard hide js-outbound">
+  <form  autocomplete="off" class="modal-content setup wizard hide js-outbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">

+ 1 - 1
app/assets/javascripts/app/views/channel/email_notification_wizard.jst.eco

@@ -34,7 +34,7 @@
     <div class="modal-footer"></div>
   </form>
 
-  <form class="modal-content setup wizard js-outbound">
+  <form class="modal-content setup wizard js-outbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">

+ 1 - 1
app/assets/javascripts/app/views/getting_started/admin.jst.eco

@@ -1,6 +1,6 @@
 <div class="main flex vertical centered darkBackground">
   <%- @Icon('full-logo', 'wizard-logo') %>
-  <form class="setup wizard js-admin">
+  <form class="setup wizard js-admin" autocomplete="off">
     <div class="wizard-slide">
       <h2><%- @T('Administrator Account') %></h2>
       <div class="wizard-body vertical justified js-admin-form"></div>

+ 1 - 1
app/assets/javascripts/app/views/getting_started/agent.jst.eco

@@ -1,6 +1,6 @@
 <div class="main flex vertical centered darkBackground">
   <%- @Icon('full-logo', 'wizard-logo') %>
-  <form class="setup wizard js-agent">
+  <form class="setup wizard js-agent" autocomplete="off">
     <div class="wizard-slide">
       <h2><%- @T('Invite Colleagues') %></h2>
       <div class="wizard-body vertical justified js-agent-form"></div>

+ 1 - 1
app/assets/javascripts/app/views/getting_started/channel.jst.eco

@@ -10,7 +10,7 @@
           <% for adapter in @adapters: %>
             <a href="<%= adapter.link %>" class="btn auth_provider auth_provider--wide <%= adapter.class %>">
               <div class="<%= adapter.class %> provider_icon"></div>
-              <div class="provider_name"><%- @T( adapter.name ) %></div>
+              <div class="provider_name"><%- @T(adapter.name) %></div>
             </a>
           <% end %>
 

+ 3 - 3
app/assets/javascripts/app/views/getting_started/email.jst.eco

@@ -1,7 +1,7 @@
 <div class="main flex vertical centered darkBackground">
   <%- @Icon('full-logo', 'wizard-logo') %>
 
-  <form class="setup wizard js-intro">
+  <form class="setup wizard js-intro" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">
@@ -66,7 +66,7 @@
     </div>
   </form>
 
-  <form class="setup wizard hide js-inbound">
+  <form class="setup wizard hide js-inbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">
@@ -98,7 +98,7 @@
     </div>
   </form>
 
-  <form class="setup wizard hide js-outbound">
+  <form class="setup wizard hide js-outbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">

+ 1 - 1
app/assets/javascripts/app/views/getting_started/email_notification.jst.eco

@@ -1,7 +1,7 @@
 <div class="main flex vertical centered darkBackground">
   <%- @Icon('full-logo', 'wizard-logo') %>
 
-  <form class="setup wizard js-outbound">
+  <form class="setup wizard js-outbound" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">

+ 1 - 1
app/assets/javascripts/app/views/widget/invite_user.jst.eco

@@ -1,6 +1,6 @@
 <div class="modal-dialog wizard">
 
-  <form class="modal-content setup wizard js-user">
+  <form class="modal-content setup wizard js-user" autocomplete="off">
     <!-- dummy to prevent chrome to ask for password save -->
     <input style="display:none">
     <input type="password" style="display:none">