Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
gitAnne committed Aug 27, 2014
1 parent 35cad53 commit 708070c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions auth/url/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

require_once($CFG->libdir.'/authlib.php');

include_once($CFG->dirroot . '/auth/url/classes/event/user_login_failed.php');
// include_once($CFG->dirroot . '/auth/url/classes/event/user_login_failed.php');
$incfile = $CFG->dirroot . '/auth/url/locallib.php';
include_once($incfile);

Expand Down Expand Up @@ -73,7 +73,6 @@ function user_login($username, $password) {
if (!$user = $DB->get_record('user', array('username'=>$username, 'mnethostid'=>$CFG->mnet_localhost_id))) {
return false;
}
// $succes = ($user->password == $password);
$plainpassword = $this->get_plain_password($password);
if (!validate_internal_user_password($user, $plainpassword)) {
return false;
Expand Down

0 comments on commit 708070c

Please sign in to comment.