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

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

Return to bug 36863