diff --git a/webpack/data/login.js b/webpack/data/login.js
index c9d5d24..511a3fa 100644
--- a/webpack/data/login.js
+++ b/webpack/data/login.js
@@ -16,7 +16,7 @@ gstore.add('popup_click', function(){
!isNaN(window.popint) && clearInterval(window.popint);
/* (5) Check if popup closed -> abort */
- window.popint = setInterval(function(){ window.pop.closed && window.cas_callback(-2); }, 500);
+ window.popint = setInterval(function(){ window.pop.closed && window.cas_callback(-5); }, 500);
diff --git a/webpack/page/login.js b/webpack/page/login.js
index 4766e87..2c244cf 100644
--- a/webpack/page/login.js
+++ b/webpack/page/login.js
@@ -63,6 +63,9 @@ window.cas_callback = function(cas_login){
case -4:
gstore.get.login_error_text = 'Erreur de connexion. Veuillez réessayer.
(errcode: no_matching_professor)';
break;
+ case -5:
+ gstore.get.login_error_text = 'Erreur de connexion. Veuillez réessayer.
(errcode: popup_interrupt)';
+ break;
}
// re-activate button