Change the password reset link sent in email

Change the password reset link sent in email

از IT ADIT در
Number of replies: 1

We are accessing moodle through different links (one for local use and one over internet). When a generates a password reset request, he/she gets a link to reset password in their email. If the person was accessing moodle from local link, he/she will have local link in their mail and if the person was accessing moodle from internet link, he/she will have internet link in their mail. 


But I want to send the same link irrespective of the link being accessed. I have tried modifying strings in language customisation, but it did not work.


میانگین امتیازات: -
In reply to IT ADIT

Re: Change the password reset link sent in email

از David Mudrák در
تصویر Core developers تصویر Documentation writers تصویر Moodle HQ تصویر Particularly helpful Moodlers تصویر Peer reviewers تصویر Plugin developers تصویر Plugins guardians تصویر Testers تصویر Translators

We are accessing moodle through different links (one for local use and one over internet).

It has never been officially supported. In older Moodle versions, even files serving did not work in such a scenario. It is generally better to have a single domain name to access your moodle host. It is possible to configure your local DNS so that for intranet users it returns one IP and for external internet users it returns another one.

In these emails, Moodle uses the value of $CFG->wwwroot defined in config.php to generate the link to itself.