* @return bool
*/
function is_internal() {
- return false;
+ return ($this->config->passtype == 'internal');
}
/**
}
}
+ /**
+ * Returns true if plugin allows resetting of internal password.
+ *
+ * @return bool
+ */
+ function can_reset_password() {
+ return ($this->config->passtype == 'internal');
+ }
+
/**
* Prints a form for configuring this authentication plugin.
*