This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
mandayejs/mandayejs/static/teamnet/js/auth.checker.js

15 lines
477 B
JavaScript

$(function(){
window.auth_success = function(){
if ($("span[alt='Deconnexion']").length > 0)
return true;
return false;
};
window.password_change_required = function() {
if ($("input[type='password'][name='old_pass']").length > 0 &&
$("input[type='password'][name='new_pass']").length > 0 &&
$("input[type='password'][name='conf_pass']").length > 0)
return true;
return false;
};
});