We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4e5d31 commit dcf0beaCopy full SHA for dcf0bea
1 file changed
custom/TwoFAModal.vue
@@ -172,7 +172,7 @@
172
if (!response.ok && response.error === 'No session ID or confirmation result'){
173
alert({message: 'Verification session finished or cancelled.', variant: 'warning'});
174
} else if (!response.ok) {
175
- alert({message: 'Verification failed', variant: 'danger'});
+ alert({message: response.error || t('Verification failed'), variant: 'danger'});
176
} else if (response.ok) {
177
alert({message: 'Verification successful', variant: 'success'});
178
}
0 commit comments