- πΈπͺSweden edward.peters
This issue is still unresolved. Can anyone advise me what to do?
Same here, on localhost working, but on staging enviroment no, I get the same http://default/...
Hello Guys again, I fixed this one.
Needed to add in settings.php the domain$base_url = "https://yourdomain.com";
- Assigned to nblack69
- Status changed to Needs review
about 1 year ago 9:59am 26 October 2023 For me this worked on staging and prod environment.
Hope this solve for you too, check and test it.- π¬π§United Kingdom iainH
Do you have
$settings['trusted_host_patterns']
set insettings.php
? We do.
According to this article$base_url
was βremovedβ fromsettings.php
for better security in favour of$settings['trusted_host_patterns']
.
There is an inconsistency that needs investigating if this is the case and the Password Policy module still needs the global variable$base_url
Yes, I have this too.. everything is fine.
Only on this Password Policy module got problems with the link from mail..
I only added the $base_url in settings.local.php which is included in settings.php and solved.
So.. yes, maybe the module still need this global variable.- π¬π§United Kingdom somersoft
Was the email sent as a during the running of the cron functionality?
If so perhaps further investigation is needed there to see ifdrush cron
is being passed the correct parameters. See https://www.drush.org/12.x/commands/core_cron/ for more information on this. - Status changed to Closed: works as designed
12 months ago 10:33pm 23 November 2023 - π¦πΊAustralia acbramley
Emails are sent via cron, when using drush you need to make sure drush uses your site's url with the
--uri
flag, or set theDRUSH_OPTIONS_URI
environment variable.