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

Diff of /trunk/webwork2/lib/WeBWorK/Authen.pm

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

Revision 562 Revision 809
17 17
18sub new($$$) { 18sub new($$$) {
19 my $invocant = shift; 19 my $invocant = shift;
20 my $class = ref($invocant) || $invocant; 20 my $class = ref($invocant) || $invocant;
21 my $self = {}; 21 my $self = {};
22 ($self->{r}, $self->{courseEnvironment}) = @_; 22 ($self->{r}, $self->{ce}) = @_;
23 bless $self, $class; 23 bless $self, $class;
24 return $self; 24 return $self;
25} 25}
26 26
27sub generate_key { 27sub generate_key {
46# no note will be written, as this is expected to happen whenever someone 46# no note will be written, as this is expected to happen whenever someone
47# types in a URL manually, and is not considered an error condition. 47# types in a URL manually, and is not considered an error condition.
48sub verify($) { 48sub verify($) {
49 my $self = shift; 49 my $self = shift;
50 my $r = $self->{r}; 50 my $r = $self->{r};
51 my $course_env = $self->{courseEnvironment}; 51 my $course_env = $self->{ce};
52 52
53 my $user = $r->param('user'); 53 my $user = $r->param('user');
54 my $passwd = $r->param('passwd'); 54 my $passwd = $r->param('passwd');
55 my $key = $r->param('key'); 55 my $key = $r->param('key');
56 my $time = time; 56 my $time = time;

Legend:
Removed from v.562  
changed lines
  Added in v.809

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9