[system] / trunk / webwork-modperl / lib / WeBWorK / Authen.pm Repository:
ViewVC logotype

Diff of /trunk/webwork-modperl/lib/WeBWorK/Authen.pm

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

Revision 826 Revision 827
145 if ($self->checkKey($user, $key)) { 145 if ($self->checkKey($user, $key)) {
146 # they key was valid. 146 # they key was valid.
147 last VERIFY; 147 last VERIFY;
148 } else { 148 } else {
149 # the key was invalid. 149 # the key was invalid.
150 $error = "Your session has expired. You must login again."; 150 $error = "Your session has timed out due to inactivity. You must login again.";
151 last VERIFY; 151 last VERIFY;
152 } 152 }
153 } 153 }
154 154
155 # -- here we know that a key was not supplied. -- 155 # -- here we know that a key was not supplied. --
191 # valid key, so succeed. 191 # valid key, so succeed.
192 last VERIFY; 192 last VERIFY;
193 } else { 193 } else {
194 # invalid key. the login page doesn't propogate the key, 194 # invalid key. the login page doesn't propogate the key,
195 # so we know this is an expired session. 195 # so we know this is an expired session.
196 $error = "Your session has expired. You must login again."; 196 $error = "Your session has timed out due to inactivity. You must login again.";
197 last VERIFY; 197 last VERIFY;
198 } 198 }
199 } 199 }
200 200
201 # a password was supplied. 201 # a password was supplied.

Legend:
Removed from v.826  
changed lines
  Added in v.827

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9