mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🐎🔥 std::move was not required
This commit is contained in:
parent
c82a90f054
commit
cf580ae876
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ void UserFilter<set_body_flag, require_admin>::doFilter(const HttpRequestPtr &re
|
||||||
if (bank.AdminVerifyAccount(username))
|
if (bank.AdminVerifyAccount(username))
|
||||||
{
|
{
|
||||||
base64_result[new_sz] = '\0';
|
base64_result[new_sz] = '\0';
|
||||||
if (bank.VerifyPassword(std::move(username), results_view.substr(middle + 1)))
|
if (bank.VerifyPassword(username, results_view.substr(middle + 1)))
|
||||||
{
|
{
|
||||||
fccb();
|
fccb();
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue