forked from ZwiiCMS-Team/ZwiiCMS
10.2.dev14 logique des options de sécurité de connexion
This commit is contained in:
parent
b7a90902ab
commit
d1272cb3c6
@ -39,7 +39,7 @@ class common {
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '10.2.00.dev12';
|
const ZWII_VERSION = '10.2.00.dev14';
|
||||||
const ZWII_UPDATE_CHANNEL = "v10";
|
const ZWII_UPDATE_CHANNEL = "v10";
|
||||||
|
|
||||||
public static $actions = [];
|
public static $actions = [];
|
||||||
|
@ -61,3 +61,18 @@ $("select[name=configSmtpAuth]").on("change", function() {
|
|||||||
$("#configSmtpAuthParam").slideUp();
|
$("#configSmtpAuthParam").slideUp();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Options de blocage de connexions choix aucun
|
||||||
|
*/
|
||||||
|
$("select[name=configConnectAttempt]").on("change", function() {
|
||||||
|
if ($("select[name=configConnectAttempt]").val() === "999") {
|
||||||
|
$("select[name=configConnectTimeout]").val(0);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$("select[name=configConnectTimeout]").on("change", function() {
|
||||||
|
if ($("select[name=configConnectTimeout]").val() === "0") {
|
||||||
|
$("select[name=configConnectAttempt]").val(999);
|
||||||
|
}
|
||||||
|
});
|
Loading…
Reference in New Issue
Block a user