How Admin can update password of Agents and Customer?
-
I am using the community helpdesk for internal support. Can I as an admin update password on behalf of my agent and customer?
-
You can achieve this by simply made few changes.
>>>For changing password for Agents:
locate path in your project:vendor->uvdesk->core-framework->Resources->views->Agent->updateSupportAgent.html.twig
open this file reach to this section https://github.com/uvdesk/core-framework/blob/master/Resources/views/Agents/updateSupportAgent.html.twig#L142-L160
And replace:
{% if userDetails and userDetails.isVerified %}
BY
{% if user_service.isAccessAuthorized('ROLE_ADMIN') %}
>>>For changing Customers password:
locate path in your project:
vendor->uvdesk->core-framework->Resources->views->Customers->updateSupportCustomer.html.twig
open this file reach to this section https://github.com/uvdesk/core-framework/blob/master/Resources/views/Customers/updateSupportCustomer.html.twig#L82-L100
And replace :
{% if userDetails and userDetails.isVerified %}
BY
{% if user_service.isAccessAuthorized('ROLE_ADMIN') %}