Removed console commands

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-07-07 15:55:31 +01:00
parent 24c6e836dd
commit 8ebbcf6e80
-2
View File
@@ -639,11 +639,9 @@ $(document).ready(function() {
@if (!config('app.lock_passwords'))
if (this.value.length > 5){
console.log('email field is ' + this.value.length + ' - enable the checkbox');
$('#email_user_checkbox').prop("disabled", false);
$("#email_user_checkbox").parent().removeClass("form-control--disabled");
} else {
console.log('email field is ' + this.value.length + ' - DISABLE the checkbox');
$('#email_user_checkbox').prop("disabled", true);
$('#email_user_checkbox').prop("checked", false);
$("#email_user_checkbox").parent().addClass("form-control--disabled");