Skip to content

Commit

Permalink
Do not redeclare auth_user_login upon login failure
Browse files Browse the repository at this point in the history
  • Loading branch information
fiedorow committed Sep 9, 2004
1 parent 3395a55 commit a8f27ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion login/index_form.html
Expand Up @@ -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">
Expand Down

0 comments on commit a8f27ff

Please sign in to comment.