Permalink
Browse files

Do not redeclare auth_user_login upon login failure

  • Loading branch information...
1 parent 3395a55 commit a8f27ff58d28fa2e398fbb15cab23ba33f4b947f fiedorow committed Sep 9, 2004
Showing with 3 additions and 1 deletion.
  1. +3 −1 login/index_form.html
@@ -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">

0 comments on commit a8f27ff

Please sign in to comment.