Do not redeclare auth_user_login upon login failure

This commit is contained in:
fiedorow 2004-09-09 12:37:34 +00:00
parent 3395a558c9
commit a8f27ff58d

View File

@ -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">