add login+2fa support for webauthn

This commit is contained in:
_Bastler
2025-12-18 21:45:35 +01:00
parent 1b7593f008
commit 6875ed6bf2
5 changed files with 14 additions and 11 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "we-bstly-angular", "name": "we-bstly-angular",
"version": "4.0.0", "version": "4.0.1",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "we-bstly-angular", "name": "we-bstly-angular",
"version": "4.0.0", "version": "4.0.1",
"dependencies": { "dependencies": {
"@angular/animations": "^20.3.15", "@angular/animations": "^20.3.15",
"@angular/cdk": "^20.2.14", "@angular/cdk": "^20.2.14",
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "we-bstly-angular", "name": "we-bstly-angular",
"version": "4.0.0", "version": "4.0.1",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
@@ -135,6 +135,7 @@
<mat-option value="NONE">{{'security.webauthn.usage.none' | i18n}}</mat-option> <mat-option value="NONE">{{'security.webauthn.usage.none' | i18n}}</mat-option>
<mat-option value="TWO_FA">{{'security.webauthn.usage.two-fa' | i18n}}</mat-option> <mat-option value="TWO_FA">{{'security.webauthn.usage.two-fa' | i18n}}</mat-option>
<mat-option value="LOGIN">{{'security.webauthn.usage.login' | i18n}}</mat-option> <mat-option value="LOGIN">{{'security.webauthn.usage.login' | i18n}}</mat-option>
<mat-option value="LOGIN_2FA">{{'security.webauthn.usage.login2fa' | i18n}}</mat-option>
</mat-select> </mat-select>
</mat-form-field> </mat-form-field>
<button mat-icon-button color="warn" (click)="removeWebAuthnCredential(credential.id, credential.nickname)" <button mat-icon-button color="warn" (click)="removeWebAuthnCredential(credential.id, credential.nickname)"
+5 -4
View File
@@ -1066,19 +1066,20 @@
"success": "Status erfolgreich geändert" "success": "Status erfolgreich geändert"
}, },
"webauthn": { "webauthn": {
".": "Security Keys/Passkeys", ".": "Security-Keys/Passkeys",
"confirmRemove": "Bist du sicher, dass du den Security-Key/Passkey '{0}' löschen möchtest?", "confirmRemove": "Bist du sicher, dass du den Security-Key/Passkey '{0}' löschen möchtest?",
"create": "Security-Key/Passkey hinzufügen", "create": "Security-Key/Passkey hinzufügen",
"dialog": { "dialog": {
"info": "Lege einen Namen für den Security-Key/Passkey fest." "info": "Lege einen Namen für den Security-Key/Passkey fest."
}, },
"info": "Verwalte deine Security-Keys/Passkeys definiere die Verwendung als Login oder 2FA.", "info": "Verwalte deine Security-Keys/Passkeys definiere die Verwendung als Login oder 2FA. Achtung, die Verwendung als 'Login + 2FA' hebelt effektiv die Zwei-Faktor-Authentifizierung für den entsprechenden Security-Key/Passkey aus!",
"nickname": "Name", "nickname": "Name",
"registered": "Deine Security Keys/Passkeys", "registered": "Deine Security-Keys/Passkeys",
"remove": "Security Key/Passkey löschen", "remove": "Security-Key/Passkey löschen",
"usage": { "usage": {
".": "Verwendung", ".": "Verwendung",
"login": "Login", "login": "Login",
"login2fa": "Login + 2FA",
"none": "Kein", "none": "Kein",
"two-fa": "2FA" "two-fa": "2FA"
} }
+5 -4
View File
@@ -1056,19 +1056,20 @@
"success": "Status successfully changed" "success": "Status successfully changed"
}, },
"webauthn": { "webauthn": {
".": "Security Keys/Passkeys", ".": "Security-Keys/Passkeys",
"confirmRemove": "Are you sure you want to delete your Security-Key/Passkey '{0}'?", "confirmRemove": "Are you sure you want to delete your Security-Key/Passkey '{0}'?",
"create": "Add Security-Key/Passkey", "create": "Add Security-Key/Passkey",
"dialog": { "dialog": {
"info": "Define a name for your Security-Key/Passkey" "info": "Define a name for your Security-Key/Passkey"
}, },
"info": "Manage your Security-Keys/Passkeys and define if the devices should be used for Login or 2FA.", "info": "Manage your Security-Keys/Passkeys and define if the devices should be used for Login or 2FA. Attention! The usage as 'Login + 2FA' effectily disabled Two-Factor-Authentication for this Security-Key/Passkey",
"nickname": "Name", "nickname": "Name",
"registered": "Your Security Keys/Passkeys", "registered": "Your Security-Keys/Passkeys",
"remove": "Remove Security Key/Passkey", "remove": "Remove Security-Key/Passkey",
"usage": { "usage": {
".": "Usage", ".": "Usage",
"login": "Login", "login": "Login",
"login2fa": "Login + 2FA",
"none": "None", "none": "None",
"two-fa": "2FA" "two-fa": "2FA"
} }