sohelamin/laravel-admin

Password is required to edit form

Closed this issue · 1 comments

Pls fix:
users/create.blade.php @include ('admin.users.form', ['submitButtonText' => 'Update']) ---> @include ('admin.users.form', ['passwordRequired' => true,'submitButtonText' => 'Update'])

users/edit.blade.php @include ('admin.users.form', ['submitButtonText' => 'Update']) ---> @include ('admin.users.form', ['passwordRequired' => false, 'submitButtonText' => 'Update'])

users/form.blade.php Row 18
{!! Form::password('password', ['class' => 'form-control', 'required' => $passwordRequired ? 'required' : false]) !!}

Will get you soon