🐛 removed typo

This commit is contained in:
EntireTwix 2021-07-02 22:42:53 -07:00
parent fe98e73319
commit 6eacdb6d1e

View file

@ -6,7 +6,7 @@ void AdminFilter::doFilter(const HttpRequestPtr &req,
FilterCallback &&fcb, FilterCallback &&fcb,
FilterChainCallback &&fccb) FilterChainCallback &&fccb)
{ {
const std::string_view &auth_header = req->getHeader("Authorization"); std::string_view auth_header = req->getHeader("Authorization");
if (auth_header.size() > 6) if (auth_header.size() > 6)
{ {
if (auth_header.substr(0, 6) == "Basic ") if (auth_header.substr(0, 6) == "Basic ")