[master] {correction} affiche les messages d'erreur de connexion plus longtemps

This commit is contained in:
Guillaume FAUVET 2018-03-31 13:11:59 +02:00
parent 52f3a3ac60
commit 1e93e712c3
1 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ window.cas_callback = function(cas_login){
// re-activate button
gstore.add('popup_opened', false);
setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 1500);
setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 3000);
/* (4) If error code -> display error */
}else if( !isNaN(cas_login) ){
@ -71,7 +71,7 @@ window.cas_callback = function(cas_login){
// re-activate button
gstore.add('popup_opened', false);
setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 1500);
setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 3000);
/* (4) If login -> reload page */
}else{
@ -81,7 +81,7 @@ window.cas_callback = function(cas_login){
var redirect_url = `/${gstore.get.URI.join('/')}`;
setTimeout(function(){ document.location = redirect_url; }, 1500);
setTimeout(function(){ document.location = redirect_url; }, 3000);
}