Skip to content
Snippets Groups Projects
Commit f9f1420d authored by Ravi Tripathi's avatar Ravi Tripathi
Browse files

Merge branch 'feat-certify-overlay' into 'master'

changed overlay to display account certification successful

See merge request rc/self-reg-form!46
parents b06fe9e5 4c48f108
No related branches found
No related tags found
1 merge request!46changed overlay to display account certification successful
...@@ -21,9 +21,12 @@ ...@@ -21,9 +21,12 @@
}); });
socket.on( 'certified', function( msg ) { socket.on( 'certified', function( msg ) {
$('#myModal2').modal('hide'); $('#myModal2 .modal-title').text("Account Certification Successful");
window.location.replace('{{ referrer }}'); $('#myModal2 .modal-body').text("Redirecting...");
}); setTimeout(() => {
window.location.replace('{{ referrer }}');
}, 5000);
});
socket.on( 'certify error', function( msg ) { socket.on( 'certify error', function( msg ) {
console.log(msg); console.log(msg);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment