aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/totp_setup.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-05-02 14:44:16 +0000
committerMario <mario@mariovavti.com>2024-05-02 14:44:16 +0000
commit98c3e2f93f18554364e26e9cf25473d36641a173 (patch)
treeada9ebceef9f3d8cd4acdc1eabd673b0ada8ddf9 /view/tpl/totp_setup.tpl
parent483221e2a87b36c85662fd2a941f436be6067ac9 (diff)
downloadvolse-hubzilla-98c3e2f93f18554364e26e9cf25473d36641a173.tar.gz
volse-hubzilla-98c3e2f93f18554364e26e9cf25473d36641a173.tar.bz2
volse-hubzilla-98c3e2f93f18554364e26e9cf25473d36641a173.zip
remove jgrowl
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');
}
);
}