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

Getting the entire text for modal body in one directive.

parent 0298382c
No related branches found
No related tags found
1 merge request!59Adding text to the modal to account for SSSD cache delay in restoring SSH access for an account.
...@@ -22,8 +22,7 @@ ...@@ -22,8 +22,7 @@
socket.on( 'certified', function( msg ) { socket.on( 'certified', function( msg ) {
$('#myModal2 .modal-title').text("Account Certification Successful."); $('#myModal2 .modal-title').text("Account Certification Successful.");
$('#myModal2 .modal-title').text("Please allow 10-15 minutes for SSH access to be restored for your account."); $('#myModal2 .modal-body').text("Please allow 10-15 minutes for SSH access to be restored for your account. \nRedirecting...");
$('#myModal2 .modal-body').text("Redirecting...");
setTimeout(() => { setTimeout(() => {
window.location.replace('{{ referrer }}'); window.location.replace('{{ referrer }}');
}, 5000); }, 5000);
......
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