We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 80748d4 + 742d560 commit 500beccCopy full SHA for 500becc
1 file changed
custom/TwoFAModal.vue
@@ -176,7 +176,7 @@
176
if (!response.ok && response.error === 'No session ID or confirmation result'){
177
alert({message: t('Verification session finished or cancelled.'), variant: 'warning'});
178
} else if (!response.ok) {
179
- alert({message: t('Verification failed'), variant: 'danger'});
+ alert({message: response.error || t('Verification failed'), variant: 'danger'});
180
} else if (response.ok) {
181
alert({message: t('Verification successful'), variant: 'success'});
182
}
0 commit comments