mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
removed AdminWrongPassword error
This commit is contained in:
parent
7711fe29d9
commit
3e857f455e
1 changed files with 2 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ class BankF : public HttpController<BankF, false>
|
||||||
public:
|
public:
|
||||||
BankF(Bank *b);
|
BankF(Bank *b);
|
||||||
void Help(req_args) const;
|
void Help(req_args) const;
|
||||||
|
void Ping(req_args) const;
|
||||||
void Close(req_args) const;
|
void Close(req_args) const;
|
||||||
void AddUser(req_args, const std::string &name) const;
|
void AddUser(req_args, const std::string &name) const;
|
||||||
void AdminAddUser(req_args, std::string &&name, uint32_t init_bal) const;
|
void AdminAddUser(req_args, std::string &&name, uint32_t init_bal) const;
|
||||||
|
|
@ -41,6 +42,7 @@ public:
|
||||||
|
|
||||||
//System Usage
|
//System Usage
|
||||||
METHOD_ADD(BankF::Help, "/help", Get, Options);
|
METHOD_ADD(BankF::Help, "/help", Get, Options);
|
||||||
|
METHOD_ADD(BankF::Ping, "/ping", Get, Options);
|
||||||
METHOD_ADD(BankF::Close, "/admin/close", Post, Options);
|
METHOD_ADD(BankF::Close, "/admin/close", Post, Options);
|
||||||
METHOD_ADD(BankF::Contains, "/contains/{name}", Get, Options);
|
METHOD_ADD(BankF::Contains, "/contains/{name}", Get, Options);
|
||||||
METHOD_ADD(BankF::AdminVerifyPass, "/admin/verify", Get, Options);
|
METHOD_ADD(BankF::AdminVerifyPass, "/admin/verify", Get, Options);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue