Working on User authentication
This commit is contained in:
1 parent
89ed9f9252
commit
4bd794c288
19 files changed
+627
-11
No files matched your search
@@ -116,6 +116,23 @@ namespace model
|
||||
int expiration;
|
||||
};
|
||||
|
||||
struct User
|
||||
{
|
||||
int id;
|
||||
std::string firstname;
|
||||
std::string lastname;
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string username;
|
||||
std::string password;
|
||||
};
|
||||
|
||||
struct PassSec
|
||||
{
|
||||
std::string hashPassword;
|
||||
std::string salt;
|
||||
};
|
||||
|
||||
struct AuthCredentials
|
||||
{
|
||||
std::string domain;
|
||||
|
||||
Reference in new issue
Block a user