mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
🔥 removed comments
This commit is contained in:
parent
fd657dd9bf
commit
88e5cfc3d3
1 changed files with 3 additions and 3 deletions
|
|
@ -78,13 +78,13 @@ void api::VerifyPassword(req_args) const
|
||||||
void api::ChangePassword(req_args) const
|
void api::ChangePassword(req_args) const
|
||||||
{
|
{
|
||||||
GEN_BODY
|
GEN_BODY
|
||||||
bank.ChangePassword(NAME_PARAM, std::move(body["new_pass"].asCString())); //may make asString()
|
bank.ChangePassword(NAME_PARAM, std::move(body["new_pass"].asCString()));
|
||||||
RESPOND_TRUE //as we know the user exists and is verified
|
RESPOND_TRUE //as we know the user exists and is verified
|
||||||
}
|
}
|
||||||
void api::AdminChangePassword(req_args) const
|
void api::AdminChangePassword(req_args) const
|
||||||
{
|
{
|
||||||
GEN_BODY
|
GEN_BODY
|
||||||
bank.ChangePassword(body["name"].asCString(), std::move(body["new_pass"].asCString())); //may make asString()
|
bank.ChangePassword(body["name"].asCString(), std::move(body["new_pass"].asCString()));
|
||||||
RESPOND_TRUE
|
RESPOND_TRUE
|
||||||
}
|
}
|
||||||
void api::SetBal(req_args) const
|
void api::SetBal(req_args) const
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue