Révision bb2258b1
Ajouté par Josué Kouka il y a plus de 8 ans
mandayejs/sites/vincennes/static/vincennes/conservatoire/js/vincennes_auth_checker.js | ||
---|---|---|
1 | 1 |
$(function(){ |
2 | 2 |
window.auth_success = function(){ |
3 |
var found = $("body").text().indexOf('Les informations de connexion'); |
|
4 |
if (found == -1) |
|
5 |
return true; |
|
6 |
return false; |
|
3 |
if (window.location.pathname == '/Default.aspx') |
|
4 |
return true; |
|
5 |
return false; |
|
7 | 6 |
}; |
8 | 7 |
}); |
Formats disponibles : Unified diff
handle phantomjs authentication for duoneet (#9530)