Skip to content
Snippets Groups Projects
Commit 4c3ea38d authored by Arie Peterson's avatar Arie Peterson
Browse files

Merge branch '114-fix-button-label-on-totp-verification' into 'main'

Draft: Resolve "Fix button label on TOTP verification"

Closes #114

See merge request stackspin/dashboard!89
parents 22a7a96a fea99584
No related branches found
No related tags found
No related merge requests found
......@@ -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') {
......
FROM node:18
WORKDIR /home/node/app
# First copy only files necessary for installing dependencies, so that we can
# cache that step even when our own source code changes.
COPY package.json yarn.lock .
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment