HandlerLogin: Remove dead code
这个提交包含在:
父节点
9f9fd2920b
当前提交
b995362d1f
@ -26,10 +26,6 @@ SOFTWARE.
|
|||||||
|
|
||||||
Response HandlerLogin::handleRequest(const Request &r)
|
Response HandlerLogin::handleRequest(const Request &r)
|
||||||
{
|
{
|
||||||
auto createErrorReesponse = [&]() {
|
|
||||||
return errorResponse("Login error", "The supplied credentials are incorrect");
|
|
||||||
};
|
|
||||||
|
|
||||||
if(r.param("submit") == "1")
|
if(r.param("submit") == "1")
|
||||||
{
|
{
|
||||||
std::string password = r.post("password");
|
std::string password = r.post("password");
|
||||||
|
正在加载...
x
在新工单中引用
屏蔽一个用户