diff --git a/backend/web/static/base.js b/backend/web/static/base.js index 847f3c15d7f9ef6f58dd5eb79c875fd71b8bd6bb..566f8db7cfac424c70e9290ab45ff35dc383b57a 100644 --- a/backend/web/static/base.js +++ b/backend/web/static/base.js @@ -386,7 +386,12 @@ function getFormElement(node, context) { label = 'Forget saved TOTP device'; } else if (node.group == 'totp') { - label = 'Enroll TOTP device'; + if (context == 'settings') { + label = 'Enroll TOTP device'; + } + else { + label = 'Verify'; + } } if (name == 'method' && value == 'password') { if (context == 'settings') {