šŸ”“ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Setting passwords for new Agents/Customers

    Technical Help
    5
    8
    3115
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      leedsy90 last edited by

      I don't see an option for setting the password when creating new agents/customers, is it possible to enable these fields?

      I haven't set up mail fetching etc yet so can only assume the agents would normally get an email with setup instructions? is this the normal process?

      1 Reply Last reply Reply Quote 0
      • J
        janejane21 last edited by

        its a common problem there i think.
        i found this problem months ago in my jackpot website
        hope to got the answer soon

        1 Reply Last reply Reply Quote 0
        • L
          leedsy90 last edited by

          I found this:

          ***Hello B- RG,
          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/c...
          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/c...

          And replace :
          {% if userDetails and userDetails.isVerified %}
          BY
          {% if user_service.isAccessAuthorized('ROLE_ADMIN') %}

          Thanks,
          Team UVDesk***

          Source: Comments on this page: https://support.uvdesk.com/es/blog/how-can-admin-change-agents-password

          However I have done the above and see no change, do I have to reload a service or config?

          1 Reply Last reply Reply Quote 0
          • L
            leedsy90 last edited by

            Nobody? Surely this has been requested before, is it possible?

            1 Reply Last reply Reply Quote 0
            • vipin
              vipin developer UVdesk Staff last edited by

              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

              1. 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') %}
              
              1. 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

              1 Reply Last reply Reply Quote 0
              • L
                leedsy90 last edited by

                Thanks, everybody, I followed the steps outlined above and can confirm this is now resolved.

                N 1 Reply Last reply Reply Quote 0
                • N
                  noman @leedsy90 last edited by

                  @leedsy90 could you please tell me how to access the following path as i have installed it through docker container and i am not able to find the path to edit this file. please if you could help me?

                  peopleinside 1 Reply Last reply Reply Quote 0
                  • peopleinside
                    peopleinside EX helping member @noman last edited by

                    @noman I don't think additional info are necessary on this post: if you need follow the solution on this topic you need simply find the patch indicated in previous post. if you have difficulty you can include some screenshots to make us understand better.

                    šŸ’¬ You can also ask help on GitHub Discussions
                    šŸ”“ I am no more active on Uvdesk
                    šŸ”“ Forum support is inactive!

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post