@@ -, +, @@ --- C4/Auth.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) --- a/C4/Auth.pm +++ a/C4/Auth.pm @@ -1322,7 +1322,14 @@ sub checkauth { track_login_daily( $userid ); - if ( defined $query->param('op') ) { + my $original_op_cud = $query->param('op-cud'); + if ( $request_method eq 'GET' ) { + $query->param('op-cud', undef); + } elsif ( $request_method eq 'POST' ) { + $query->param('op', undef); + } + + if ( defined $original_op_cud ) { die "Cannot use GET for this request" if $request_method ne 'POST'; --