mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Do not redeclare auth_user_login upon login failure
This commit is contained in:
parent
3395a558c9
commit
a8f27ff58d
@ -94,7 +94,9 @@
|
||||
break;
|
||||
default:
|
||||
echo format_text($CFG->auth_instructions);
|
||||
require_once("../auth/$CFG->auth/lib.php");
|
||||
if (!function_exists('auth_user_login')) {
|
||||
require_once("../auth/$CFG->auth/lib.php");
|
||||
}
|
||||
if (!empty($CFG->auth_user_create) and function_exists('auth_user_create') ){
|
||||
?>
|
||||
<div align="center">
|
||||
|
Loading…
x
Reference in New Issue
Block a user