. /** * Anybody can login with any password. * * @package auth_none * @category check * @copyright 2020 Brendan Heywood * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ defined('MOODLE_INTERNAL') || die(); /** * Add security check to make sure this isn't on in production. * * @return array check */ function auth_none_security_checks() { return [new auth_none\check\noauth()]; }