Projet

Général

Profil

0001-handle-phantomjs-authentication-for-duonext-9530.patch

Josué Kouka, 07 janvier 2016 12:41

Télécharger (1,08 ko)

Voir les différences:

Subject: [PATCH] handle phantomjs authentication for duonext (#9530)

 .../static/vincennes/conservatoire/js/vincennes_auth_checker.js    | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
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
});
9
-