diff --git a/app/templates/account/certify.html b/app/templates/account/certify.html index c894eeaaa52d50d23bca66e1778f37263d46c5df..f13830af1249cc0a9f31a5096a815098e5c4ee15 100644 --- a/app/templates/account/certify.html +++ b/app/templates/account/certify.html @@ -21,9 +21,12 @@ }); socket.on( 'certified', function( msg ) { - $('#myModal2').modal('hide'); - window.location.replace('{{ referrer }}'); - }); + $('#myModal2 .modal-title').text("Account Certification Successful"); + $('#myModal2 .modal-body').text("Redirecting..."); + setTimeout(() => { + window.location.replace('{{ referrer }}'); + }, 5000); + }); socket.on( 'certify error', function( msg ) { console.log(msg);