Skip to content

Commit

Permalink
MDL-66581 auth: Properly assign the link attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Dec 2, 2019
1 parent f0d3807 commit 0e58303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/authlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ public function get_password_change_info(stdClass $user) : array {
$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()->out();
} else {
// No way to change password, sorry.
$data->link = '';
Expand Down

0 comments on commit 0e58303

Please sign in to comment.