Restore labels for supported applications under 'OTP Policy' tab (#15117)

This commit is contained in:
Jon Koops 2022-10-25 07:34:19 +02:00 committed by GitHub
parent 3a30061c44
commit 3d6c0690ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -1360,6 +1360,8 @@ authenticator.alias.tooltip=Name of the configuration
otp-type=OTP Type
time-based=Time Based
counter-based=Counter Based
totpAppFreeOTPName=FreeOTP
totpAppGoogleName=Google Authenticator
otp-type.tooltip=totp is Time-Based One Time Password. 'hotp' is a counter base one time password in which the server keeps a counter to hash against.
otp-hash-algorithm=OTP Hash Algorithm
otp-hash-algorithm.tooltip=What hashing algorithm should be used to generate the OTP.

View file

@ -76,7 +76,9 @@
<div class="form-group">
<label class="col-md-2 control-label">{{:: 'otp-supported-applications' | translate}}</label>
<div class="col-md-6">
{{realm.otpSupportedApplications.join(', ')}}
<span data-ng-repeat="key in realm.otpSupportedApplications">
{{:: key | translate}}<span data-ng-if="!$last">, </span>
</span>
</div>
<kc-tooltip>{{:: 'otp-supported-applications.tooltip' | translate}}</kc-tooltip>
</div>