mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐛 removed typo
This commit is contained in:
parent
fe98e73319
commit
6eacdb6d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ void AdminFilter::doFilter(const HttpRequestPtr &req,
|
|||
FilterCallback &&fcb,
|
||||
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.substr(0, 6) == "Basic ")
|
||||
|
|
|
|||
Loading…
Reference in a new issue