As I understand your requirement you want to update the password from the admin side for the customer or agent
For this, you have to update two files your project
- Update your updateSupportAgent.html.twig in your project :
locate path in your project:
your_project_name->vendor->uvdesk->core-framework->Resources->views->Agent->updateSupportAgent.html.twig
after open, this file, find line number 142
open this file reach to this section.
And replace:
{% if userDetails and userDetails.isVerified %}
BY
{% if user_service.isAccessAuthorized('ROLE_ADMIN') %}
- Update your updateSupportCustomer.html.twig in your project :
locate path in your project:
your_project_name->vendor->uvdesk->core-framework->Resources->views->Customers->updateSupportCustomer.html.twig
after open, this file, find line number 82
open this file reach to this section.
And replace:
{% if userDetails and userDetails.isVerified %}
BY
{% if user_service.isAccessAuthorized('ROLE_ADMIN') %}
After the updates, Run command PHP bin/console c:c to clear your project cache.
Also, clear your browser cache. Now you can see in the edit section of the Customer & Agent password section is visible