MDL-41729 auth_shibboleth: Allow password change for shibboleth users
commit056a5138a4a37bf614eb780efc88a0d61f04a9a5
authorLukas Hämmerle <lukas.haemmerle@switch.ch>
Fri, 11 Nov 2016 09:56:13 +0000 (11 10:56 +0100)
committerSimey Lameze <simey@moodle.com>
Thu, 8 Dec 2016 01:38:52 +0000 (8 09:38 +0800)
tree59c7a8ebe414ab08c32cb0fcee5f1b910acc360f
parente6cb76dfbbd04a41a347711c8da85a9dba5c6c5a
MDL-41729 auth_shibboleth: Allow password change for shibboleth users

This patch modifies can_change_password() and adds change_password_url() to allow Shibboleth users to change their password
in case there is an (external) password change URL defined in Moodle. If no such URL is defined, the behaviour is the same
as without the proposed change.

Thanks FH-HWZ.ch for the contribution.
auth/shibboleth/auth.php