đź”´ January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Add cuastomer

    Technical Help
    2
    2
    206
    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.
    • J
      Jet Huan last edited by

      Hi Team,
      we are a agent, we need add customer ( they like a our parnerts to login for create tickets). we dont see the field password when add new customer. How to add customer including email & password for login?
      link using https://support.vietjetair.com/en/customer/login
      Please help
      tks

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

        @Jet-Huan

        You need to setup your swiftmailer(responsible for sending emails) and once done whenever you add a customer or agent they will receive a email for the same for setup password.

        But if emails not working for you the you can enable option for admin as well to setup password.

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

        once done clear your project cache by:
        php bin/console c:c

        Finally check admin will be able to update the password for agent and customer.

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