15 lines
477 B
JavaScript
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;
|
|
};
|
|
});
|