aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/totp_setup.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/totp_setup.tpl')
-rw-r--r--view/tpl/totp_setup.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/totp_setup.tpl b/view/tpl/totp_setup.tpl
index 6f995edf1..1f028f6f9 100644
--- a/view/tpl/totp_setup.tpl
+++ b/view/tpl/totp_setup.tpl
@@ -50,12 +50,12 @@
{totp_code: document.getElementById('totp_test').value},
function(data) {
if (data['status']) {
- $.jGrowl('{{$test_pass}}', { sticky: false, theme: 'info', life: 10000 });
+ toast('{{$test_pass}}', 'info');
let e = document.getElementById('mfa-submit-wrapper');
e.classList.remove('d-none');
return;
}
- $.jGrowl('{{$test_fail}}', { sticky: false, theme: 'notice', life: 10000 });
+ toast('{{$test_fail}}', 'danger');
}
);
}