XF 1.4 Changing the account confirmation link?


I have recently moved my xenforo site into a sub-directory '/community'.

Now whenever somebody registers on my site, they get an email looking like this:

The link is invalid when you click it since it needs to have the '/community' part in it.

How can I fix this and change the link so it's correct?