FIX: Blank second factor gets default name
This commit is contained in:
parent
44f4801087
commit
4cd0cd2f8e
|
@ -36,7 +36,11 @@
|
|||
label="user.second_factor.totp.add"}}
|
||||
{{#each totps as |totp|}}
|
||||
<div class="second-factor-item">
|
||||
{{totp.name}}
|
||||
{{#if totp.name}}
|
||||
{{totp.name}}
|
||||
{{else}}
|
||||
{{i18n "user.second_factor.totp.default_name"}}
|
||||
{{/if}}
|
||||
|
||||
{{#if isCurrentUser}}
|
||||
{{d-button action=(action "editSecondFactor" totp)
|
||||
|
|
Loading…
Reference in New Issue