#ifndef HANDLERLOGIN_H #define HANDLERLOGIN_H #include #include "handler.h" class HandlerLogin : public Handler { private: bool isBanned(std::string ip); void incFailureCount(std::string ip); std::vector pbkdf5(std::string password, const std::vector &salt); public: HandlerLogin(); Response handle(const Request &r) override; ~HandlerLogin() override { } using Handler::Handler; }; #endif // HANDERLOGIN_H