Add files via upload

This commit is contained in:
Chris-bot374
2024-07-06 11:59:11 +02:00
committed by GitHub
parent 906245c603
commit 743f831c97
6 changed files with 638 additions and 0 deletions

18
src/Core/DBLogin.hpp Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _DBLOGIN_HPP_
#define _DBLOGIN_HPP_
#include "DBHandler.hpp"
class DBLogin : public DBHandler {
public:
DBLogin(std::string connStr);
/*
return 1 if admin | 0 if not admin | -1 if failed
*/
int checkValidLogin(std::string id, std::string pw);
};
#endif