(MDL-8973) Fix OOP model of new multi auth plugins + some other auth related fixes, fixed change_password, ldap updates, etc.; TODO: fix docs
This commit is contained in:
+1
-1
@@ -352,7 +352,7 @@
|
||||
|
||||
$passwordchangeurl = false;
|
||||
if ($userauth->can_change_password()) {
|
||||
if (method_exists($userauth, 'change_password_url') and $userauth->change_password_url()) {
|
||||
if ($userauth->change_password_url()) {
|
||||
$passwordchangeurl = $userauth->change_password_url();
|
||||
} else {
|
||||
if (empty($CFG->loginhttps)) {
|
||||
|
||||
Reference in New Issue
Block a user