Skip to content

A free open source IT asset/license management system

Removed console commands

snipe8ebbcf6e80c3
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php
index 4e2293f59b..0062a7210e 100755
--- a/resources/views/users/edit.blade.php
+++ b/resources/views/users/edit.blade.php
@@ -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");