Lines 1202-1207
sub checkauth {
Link Here
|
1202 |
); |
1202 |
); |
1203 |
} |
1203 |
} |
1204 |
|
1204 |
|
|
|
1205 |
track_login_daily( $userid ); |
1206 |
|
1205 |
# In case, that this request was a login attempt, we want to prevent that users can repost the opac login |
1207 |
# In case, that this request was a login attempt, we want to prevent that users can repost the opac login |
1206 |
# request. We therefore redirect the user to the requested page again without the login parameters. |
1208 |
# request. We therefore redirect the user to the requested page again without the login parameters. |
1207 |
# See Post/Redirect/Get (PRG) design pattern: https://en.wikipedia.org/wiki/Post/Redirect/Get |
1209 |
# See Post/Redirect/Get (PRG) design pattern: https://en.wikipedia.org/wiki/Post/Redirect/Get |
Lines 1214-1221
sub checkauth {
Link Here
|
1214 |
exit; |
1216 |
exit; |
1215 |
} |
1217 |
} |
1216 |
|
1218 |
|
1217 |
track_login_daily( $userid ); |
|
|
1218 |
|
1219 |
return ( $userid, $cookie, $sessionID, $flags ); |
1219 |
return ( $userid, $cookie, $sessionID, $flags ); |
1220 |
} |
1220 |
} |
1221 |
|
1221 |
|
1222 |
- |
|
|