🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.
  • Recent
  • Dark Theme
  • Login

UVdesk

  • Dark Theme
  • Login
  • Search
  • Recent

Solved How Admin can update password of Agents and Customer?

Technical Help
3
9
1.3k
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.
  • S
    Shoman last edited by 23 Dec 2020, 06:34

    I am using the community helpdesk for internal support. Can I as an admin update password on behalf of my agent and customer?

    1 Reply Last reply Reply Quote 1
    • Sanjeev
      Sanjeev developer UVdesk Staff last edited by 23 Dec 2020, 07:30

      @Shoman

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

      1 Reply Last reply Reply Quote 0
      • 5 months later
      • W
        webziver last edited by 27 May 2021, 09:47

        Hi UVDesk,
        I used the instructions above. The administrator can change the agent's password but cannot change the member's password, the member password is not updated in the database.
        I use version 1.0.13 (2021-04-02).
        Please help me!

        1 Reply Last reply Reply Quote 0
        • Sanjeev
          Sanjeev developer UVdesk Staff last edited by 27 May 2021, 10:31

          @webziver

          are you taking about customer password update by admin?

          1 Reply Last reply Reply Quote 0
          • W
            webziver last edited by 27 May 2021, 11:20

            Yes, Admin cannot update password of customer.

            1 Reply Last reply Reply Quote 0
            • Sanjeev
              Sanjeev developer UVdesk Staff last edited by 28 May 2021, 04:48

              @webziver

              We will check and let you update.

              1 Reply Last reply Reply Quote 0
              • Sanjeev
                Sanjeev developer UVdesk Staff last edited by 29 May 2021, 12:43

                @webziver

                Locate file in your project:
                vendor/uvdesk/core-framework/Controller/Customer.php

                Open Customer.php and replace its code from here.

                Now clear your project cache by:
                php bin/console c:c

                Now update the password for customer and try to login using credentials.

                If still any problem exist please let us know.

                1 Reply Last reply Reply Quote 0
                • W
                  webziver last edited by 29 May 2021, 22:02

                  You help very quickly. Customer's password has been updated. Thank you so much UVdesk.

                  1 Reply Last reply Reply Quote 0
                  • Sanjeev
                    Sanjeev developer UVdesk Staff last edited by 31 May 2021, 03:38

                    @webziver

                    Glad to know your issue has been resolved.
                    Stay tuned with us for future updates here you can watch repository for updates.

                    1 Reply Last reply Reply Quote 0
                    6 out of 9
                    • First post
                      6/9
                      Last post