diff --git a/app/templates/account/certify.html b/app/templates/account/certify.html index 4ba8afa89bff05a4f78841393fc5688138dc3751..30ce3b41e0e40317403d82a90ab1145510d6d93d 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);