View | Details | Raw Unified | Return to bug 26191
Collapse All | Expand All

(-)a/C4/Auth.pm (-3 / +2 lines)
Lines 1226-1231 sub checkauth { Link Here
1226
            );
1226
            );
1227
        }
1227
        }
1228
1228
1229
        track_login_daily( $userid );
1230
1229
        # In case, that this request was a login attempt, we want to prevent that users can repost the opac login
1231
        # In case, that this request was a login attempt, we want to prevent that users can repost the opac login
1230
        # request. We therefore redirect the user to the requested page again without the login parameters.
1232
        # request. We therefore redirect the user to the requested page again without the login parameters.
1231
        # See Post/Redirect/Get (PRG) design pattern: https://en.wikipedia.org/wiki/Post/Redirect/Get
1233
        # See Post/Redirect/Get (PRG) design pattern: https://en.wikipedia.org/wiki/Post/Redirect/Get
Lines 1238-1245 sub checkauth { Link Here
1238
            exit;
1240
            exit;
1239
        }
1241
        }
1240
1242
1241
        track_login_daily( $userid );
1242
1243
        return ( $userid, $cookie, $sessionID, $flags );
1243
        return ( $userid, $cookie, $sessionID, $flags );
1244
    }
1244
    }
1245
1245
1246
- 

Return to bug 26191