mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 08:32:13 +11:00
🔥racehorse: temporary resp variable was unessasary
This commit is contained in:
parent
c1587f9e46
commit
3a44c0b065
1 changed files with 1 additions and 2 deletions
|
|
@ -95,8 +95,7 @@ void UserFilter<set_body_flag, require_admin>::doFilter(const HttpRequestPtr &re
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const auto &resp = HttpResponse::newCustomHttpResponse(BankResponse(k401Unauthorized, "\"Invalid Credentials\""));
|
fcb(HttpResponse::newCustomHttpResponse(BankResponse(k401Unauthorized, "\"Invalid Credentials\"")));
|
||||||
fcb(resp);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
template class UserFilter<true, false>; //user default
|
template class UserFilter<true, false>; //user default
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue