Hi all,

New in osTicket, but I have successfully install & manage it, it's great

My server information is:
osTicket Version v1.14.1 (f1e9e88) — Up to date
Web Server Software Apache/2.4.6 (CentOS) PHP/7.3.13
MySQL Version 5.5.64
PHP Version 7.3.13

Everything seems to work fine, but the following:
(Before this, I have read forums and discussions, and patches)

  1. When you create an agent, it doesn't send any mail (have double check my configuration); I have to create the agent, then assign a password, then the agent login (I told him personally) and then change the password. I have tried a patch that sends the mail modifying the staff.php file; but it leads to another issue:

  2. The URL sent in the e-mail is wrong as: "<a href="http;//server.com/scp/server.com/passw.......". Meaning that the URL is mixing with the path..... I'VE CHECKED THE TEMPLATES already.
    But, this is leading to.....

  3. When a user is registered via web, the system sends an email and the user activate and can ask for a password reset (everything works)... BUT if you add an user directly from scp (staff), and then check the user and click on "REGISTER", the system sends an email with exactly the same wrong URL.
    If you delete the preceding path, the system goes and register the user.
    But if you ask a password reset from the scp (staff) to an user, same issue....

So, I think the problem is really in scp user and agent management and its behavior with the accounts

Hopefully, there will be an upgrade or patch

I would say there are two things to check.

First, is Admin panel -> Settings -> System the Help Desk URL.
Is it correct?

Second, is your email templates for Agents and Users.
Admin panel -> Settings -> Agents, Templates tab
Click on the Agent Welcome Email.
What the template look like? Specifically the variable. It should simply be %{link}.
You can edit the link and make sure.

and
Admin panel -> Settings -> Agents, Templates tab
Click on the Guest ticket access and check the %{recipient.ticket_link}
and Account Confirmation Email and check %{link}

    ntozier Thanks for your quick answer!!!

    This works for me!
    I have done some translations, and the %{link} was correct in my spanish version and it was wrong (with the full path) in the english version..... (really don't know why, because I copied / pasted the full text and translate it)

    This can be happily closed!
    (I'll open another one due language issue, but it is another story)

    Thanks!

    PS. The "send agent email" will be fixed in next releases? (I did it with a patch I found)

      cedua The "send agent email" will be fixed in next releases?

      Presuming that the patch you applied was from github then yes.

      ntozier changed the title to [resolved] reset password URL is wrong.
      Write a Reply...