[system] / branches / gage_dev / webwork2 / lib / WeBWorK / Authen / LDAP.pm Repository:
ViewVC logotype

Diff of /branches/gage_dev/webwork2/lib/WeBWorK/Authen/LDAP.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 6565 Revision 6566
30 debug("LDAP module is doing the password checking.\n"); 30 debug("LDAP module is doing the password checking.\n");
31 31
32 # check against LDAP server 32 # check against LDAP server
33 return 1 if $self->ldap_authen_uid($userID, $possibleClearPassword); 33 return 1 if $self->ldap_authen_uid($userID, $possibleClearPassword);
34 34
35 return 0 if ($userID !~ /admin/); 35 #return 0 if ($userID !~ /admin/);
36 36
37 # optional: fail over to superclass checkPassword 37 # optional: fail over to superclass checkPassword
38 if ($failover) { 38 if ($failover) {
39 $self->write_log_entry("AUTH LDAP: authentication failed, deferring to superclass"); 39 $self->write_log_entry("AUTH LDAP: authentication failed, deferring to superclass");
40 return $self->SUPER::checkPassword($userID, $possibleClearPassword); 40 return $self->SUPER::checkPassword($userID, $possibleClearPassword);

Legend:
Removed from v.6565  
changed lines
  Added in v.6566

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9