From befbe2838f78ccb5a7774cfb91d65e34d89eb355 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Zendegi?= Date: Tue, 3 Sep 2019 14:46:15 +0200 Subject: [PATCH] MDL-66581 auth: Do string concatenation for the password change URL This reverts the change introduced by MDL-59298 where the password change URL data is being assigned with a moodle_url object instead of concatenating it. --- lib/authlib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/authlib.php b/lib/authlib.php index 0ea720d7a30..278bbda7041 100644 --- a/lib/authlib.php +++ b/lib/authlib.php @@ -785,7 +785,7 @@ class auth_plugin_base { $USER = $user; if ($this->can_change_password() and $this->change_password_url()) { // We have some external url for password changing. - $data->link = $this->change_password_url(); + $data->link .= $this->change_password_url(); } else { // No way to change password, sorry. $data->link = '';