diff --git a/ui/app/templates/components/shamir-flow.hbs b/ui/app/templates/components/shamir-flow.hbs index d5d9065ab56f8..edc58ea02e8ac 100644 --- a/ui/app/templates/components/shamir-flow.hbs +++ b/ui/app/templates/components/shamir-flow.hbs @@ -4,11 +4,7 @@

- {{#if otp}} - Encoded Operation Token - {{else}} - Encrypted Operation Token - {{/if}} + Encoded Operation Token

{{encoded_token}}
@@ -23,10 +19,10 @@ {{otp}} + {{/if}}
- {{#let - (concat 'vault operator generate-root -dr-token -otp="' otp '" -decode="' encoded_token '"') - as |cmd|}} + {{#let (if otp + (concat 'vault operator generate-root -otp="' otp '" -decode="' encoded_token '"') (concat 'vault operator generate-root -otp="" -decode="' encoded_token '"') ) as |cmd|}}

@@ -36,7 +32,6 @@

{{/let}}
- {{/if}}
{{/if}}
+ {{#if otp}} +

+ +

+
+ +
+

+ One Time Password (otp) +

+ {{otp}} +
+
+ {{/if}} {{#if (has-block)}} {{yield}} {{else if formText}}