Use autocomplete=new-password on password changing forms
Hanno

Hanno commited on 2019-10-24 21:14:02
Zeige 3 geänderte Dateien mit 6 Einfügungen und 6 Löschungen.

... ...
@@ -65,11 +65,11 @@ output('<p>Hier können Sie Ihr Passwort ändern.</p>
65 65
     <td>bisheriges Passwort:</td>  <td><input type="password" name="old_password" value="" /></td>
66 66
   </tr>
67 67
   <tr>
68
-    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" /></td>
68
+    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" autocomplete="new-password" /></td>
69 69
   </tr>
70 70
   <tr>
71 71
     <td>Bestätigung:<br /><span style="font-size: 80%;">(nochmal neues Passwort)</span></td>
72
-                                   <td><input type="password" name="password2" value="" /></td>
72
+                                   <td><input type="password" name="password2" value="" autocomplete="new-password" /></td>
73 73
   </tr>
74 74
 </table>
75 75
 <p><input type="submit" value="Speichern" /></p>
... ...
@@ -56,11 +56,11 @@ output('<p>Hier können Sie Ihr Passwort ändern.</p>
56 56
     <td>bisheriges Passwort:</td>  <td><input type="password" name="old_password" value="" /></td>
57 57
   </tr>
58 58
   <tr>
59
-    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" /></td>
59
+    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" autocomplete="new-password" /></td>
60 60
   </tr>
61 61
   <tr>
62 62
     <td>Bestätigung:<br /><span style="font-size: 80%;">(nochmal neues Passwort)</span></td>
63
-                                   <td><input type="password" name="password2" value="" /></td>
63
+                                   <td><input type="password" name="password2" value="" autocomplete="new-password" /></td>
64 64
   </tr>
65 65
 </table>
66 66
 <p><input type="submit" value="Speichern" /></p>
... ...
@@ -77,11 +77,11 @@ output('<p>Hier können Sie Ihr Passwort ändern.</p>
77 77
     <td>bisheriges Passwort:</td>  <td><input type="password" name="old_password" value="" /></td>
78 78
   </tr>
79 79
   <tr>
80
-    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" /></td>
80
+    <td>neues Passwort:</td>       <td><input type="password" name="password1" value="" autocomplete="new-password" /></td>
81 81
   </tr>
82 82
   <tr>
83 83
     <td>Bestätigung:<br /><span style="font-size: 80%;">(nochmal neues Passwort)</span></td>
84
-                                   <td><input type="password" name="password2" value="" /></td>
84
+                                   <td><input type="password" name="password2" value="" autocomplete="new-password" /></td>
85 85
   </tr>
86 86
 </table>
87 87
 <p><input type="submit" value="Speichern" /></p>
88 88