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

(-)a/Koha/Middleware/CSRF.pm (-3 / +1 lines)
Lines 76-83 sub call { Link Here
76
                $error = "wrong_csrf_token";
76
                $error = "wrong_csrf_token";
77
            }
77
            }
78
        }
78
        }
79
    }
79
    } elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
80
    elsif ( !exists $stateless_methods{$request_method} && !exists $stateful_methods{$request_method} ) {
81
        $error = sprintf "unknown or unsupported method %s", $request_method;
80
        $error = sprintf "unknown or unsupported method %s", $request_method;
82
    }
81
    }
83
82
84
- 

Return to bug 36863