fix(login): 2FA-Einrichtungsfeld fuer Passwortmanager ausblenden
Die Seite trug zweimal autocomplete="one-time-code": im Login und im Feld zum Einrichten von 2FA in den Einstellungen. Fuer einen Passwortmanager ist damit nicht eindeutig, zu welchem Feld sein Inline-Symbol gehoert. Das Einrichtungsfeld bekommt data-bwignore (plus die Entsprechungen fuer 1Password und LastPass) — dort tippt man den Code aus der Authenticator-App beim Anlegen eines neuen Geheimnisses ab, ein Ausfuellen ergibt da ohnehin keinen Sinn. Die Passwortfelder bleiben unangetastet, die sollen weiter befuellbar sein. Ob das die fehlplatzierte Bitwarden-Anzeige behebt, ist offen: hier laesst sich keine Erweiterung installieren. Der vorherige Versuch ueber das Fokus-Timing hat es nicht geloest. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
1b09cd5167
commit
3d73642f2e
+4
-1
@@ -1023,7 +1023,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label>Bestätigungscode eingeben</label>
|
<label>Bestätigungscode eingeben</label>
|
||||||
<input type="text" id="2fa-verify-code" placeholder="6-stelliger Code" maxlength="6" inputmode="numeric" autocomplete="one-time-code" />
|
<!-- data-bwignore/-1p-ignore/-lpignore: this is the *enrolment* field for a
|
||||||
|
new secret, and a second one-time-code field on the page makes password
|
||||||
|
managers ambiguous about which one their inline icon belongs to. -->
|
||||||
|
<input type="text" id="2fa-verify-code" placeholder="6-stelliger Code" maxlength="6" inputmode="numeric" autocomplete="one-time-code" data-bwignore data-1p-ignore data-lpignore="true" />
|
||||||
</div>
|
</div>
|
||||||
<button class="btn btn-primary btn-sm" id="2fa-enable-btn">Aktivieren</button>
|
<button class="btn btn-primary btn-sm" id="2fa-enable-btn">Aktivieren</button>
|
||||||
<button class="btn btn-ghost btn-sm" id="2fa-cancel-btn">Abbrechen</button>
|
<button class="btn btn-ghost btn-sm" id="2fa-cancel-btn">Abbrechen</button>
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
// Increment APP_VERSION with every code change
|
// Increment APP_VERSION with every code change
|
||||||
export const APP_VERSION = 'v94';
|
export const APP_VERSION = 'v95';
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
// the entry HTML / version files). New releases take effect on the next
|
// the entry HTML / version files). New releases take effect on the next
|
||||||
// reload, no manual SW unregister required.
|
// reload, no manual SW unregister required.
|
||||||
|
|
||||||
const CACHE_VERSION = 'calendarr-v40';
|
const CACHE_VERSION = 'calendarr-v41';
|
||||||
const OFFLINE_SHELL = ['/', '/index.html'];
|
const OFFLINE_SHELL = ['/', '/index.html'];
|
||||||
|
|
||||||
self.addEventListener('install', event => {
|
self.addEventListener('install', event => {
|
||||||
|
|||||||
Reference in New Issue
Block a user