diff --git a/webpack/page/login.js b/webpack/page/login.js index be6c4ab..4766e87 100644 --- a/webpack/page/login.js +++ b/webpack/page/login.js @@ -40,6 +40,9 @@ window.cas_callback = function(cas_login){ gstore.get.login_error_text = 'Erreur de connexion. Veuillez réessayer.'; gstore.get.login_class = 'invalid'; + // re-activate button + gstore.add('popup_opened', false); + setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 1500); /* (4) If error code -> display error */ @@ -62,6 +65,9 @@ window.cas_callback = function(cas_login){ break; } + // re-activate button + gstore.add('popup_opened', false); + setTimeout(function(){ gstore.get.login_class = 'neutral'; }, 1500); /* (4) If login -> reload page */ diff --git a/webpack/vue/login_wrapper.vue b/webpack/vue/login_wrapper.vue index 69b625b..515aa02 100644 --- a/webpack/vue/login_wrapper.vue +++ b/webpack/vue/login_wrapper.vue @@ -6,7 +6,7 @@