forked from ZwiiCMS-Team/ZwiiCMS
Bug captcha strong + ménage
This commit is contained in:
parent
6d5ae0a3fc
commit
16817dcfea
@ -508,8 +508,7 @@ class config extends common {
|
|||||||
'captchaStrong' => $this->getInput('connectCaptchaStrong',helper::FILTER_BOOLEAN),
|
'captchaStrong' => $this->getInput('connectCaptchaStrong',helper::FILTER_BOOLEAN),
|
||||||
'autoDisconnect' => $this->getInput('connectAutoDisconnect',helper::FILTER_BOOLEAN),
|
'autoDisconnect' => $this->getInput('connectAutoDisconnect',helper::FILTER_BOOLEAN),
|
||||||
'captchaType' => $this->getInput('connectCaptchaType'),
|
'captchaType' => $this->getInput('connectCaptchaType'),
|
||||||
'showPassword' => $this->getInput('connectShowPassword',helper::FILTER_BOOLEAN),
|
'showPassword' => $this->getInput('connectShowPassword',helper::FILTER_BOOLEAN)
|
||||||
|
|
||||||
],
|
],
|
||||||
'i18n' => [
|
'i18n' => [
|
||||||
'enable' => $this->getInput('localei18n',helper::FILTER_BOOLEAN),
|
'enable' => $this->getInput('localei18n',helper::FILTER_BOOLEAN),
|
||||||
|
@ -38,7 +38,7 @@ $( document).ready(function() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Afficher etmasquer les option de captcha
|
* Afficher et masquer les options de captcha
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if ($("input[name=connectCaptcha]").is(':checked')) {
|
if ($("input[name=connectCaptcha]").is(':checked')) {
|
||||||
@ -46,12 +46,12 @@ $( document).ready(function() {
|
|||||||
$("#connectCaptchaStrongWrapper").slideDown();
|
$("#connectCaptchaStrongWrapper").slideDown();
|
||||||
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
||||||
$("#connectCaptchaTypeWrapper").slideDown();
|
$("#connectCaptchaTypeWrapper").slideDown();
|
||||||
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
|
||||||
} else {
|
} else {
|
||||||
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
||||||
$("#connectCaptchaStrongWrapper").slideUp();
|
$("#connectCaptchaStrongWrapper").slideUp();
|
||||||
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
||||||
$("#connectCaptchaTypeWrapper").slideUp();
|
$("#connectCaptchaTypeWrapper").slideUp();
|
||||||
|
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
||||||
}
|
}
|
||||||
|
|
||||||
var configLayout = getCookie("configLayout");
|
var configLayout = getCookie("configLayout");
|
||||||
@ -132,12 +132,12 @@ $( document).ready(function() {
|
|||||||
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
$("#connectCaptchaTypeWrapper").addClass("disabled");
|
||||||
$("#connectCaptchaTypeWrapper").slideDown();
|
$("#connectCaptchaTypeWrapper").slideDown();
|
||||||
|
|
||||||
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
|
||||||
} else {
|
} else {
|
||||||
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
$("#connectCaptchaStrongWrapper").removeClass("disabled");
|
||||||
$("#connectCaptchaStrongWrapper").slideUp();
|
$("#connectCaptchaStrongWrapper").slideUp();
|
||||||
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
$("#connectCaptchaTypeWrapper").removeClass("disabled");
|
||||||
$("#connectCaptchaTypeWrapper").slideUp();
|
$("#connectCaptchaTypeWrapper").slideUp();
|
||||||
|
$( "#connectCaptchaStrong" ).prop( "checked", false );
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user