MDL-42097 auth: Auth plugins must check passwordurl before returning it

This commit is contained in:
Ankit Agarwal
2013-12-03 14:17:42 +08:00
parent 6513cc0376
commit 963cdce4e2
6 changed files with 22 additions and 4 deletions
+2
View File
@@ -159,6 +159,8 @@ class auth_plugin_base {
*
* This method is used if can_change_password() returns true.
* This method is called only when user is logged in, it may use global $USER.
* If you are using a plugin config variable in this method, please make sure it is set before using it,
* as this method can be called even if the plugin is disabled, in which case the config values won't be set.
*
* @return moodle_url url of the profile page or null if standard used
*/