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

Diff of /branches/wheeler/webwork2/lib/WeBWorK/Authen.pm

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

Revision 7145 Revision 7146
229 } else { 229 } else {
230 if (defined $log_error) { 230 if (defined $log_error) {
231 $self->write_log_entry("LOGIN FAILED $log_error"); 231 $self->write_log_entry("LOGIN FAILED $log_error");
232 } 232 }
233 if (!defined($error) or !$error) { 233 if (!defined($error) or !$error) {
234 if (defined($r->param("user")) or defined($r->param("user_id"))) {
234 $error = $r->maketext("Your authentication failed. Please try again." 235 $error = $r->maketext("Your authentication failed. Please try again."
235 . " Please speak with your instructor if you need help.") 236 . " Please speak with your instructor if you need help.")
237 }
236 } 238 }
237 $self->maybe_kill_cookie; 239 $self->maybe_kill_cookie;
238 if ($error) { 240 if (defined($error) and $error) {
239 MP2 ? $r->notes->set(authen_error => $error) : $r->notes("authen_error" => $error); 241 MP2 ? $r->notes->set(authen_error => $error) : $r->notes("authen_error" => $error);
240 } 242 }
241 } 243 }
242 244
243 debug("END VERIFY"); 245 debug("END VERIFY");

Legend:
Removed from v.7145  
changed lines
  Added in v.7146

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9